#abc069b. [abc069_b]i18n
[abc069_b]i18n
Problem Statement
The word internationalization
is sometimes abbreviated to i18n
. This comes from the fact that there are letters between the first i
and the last n
.
You are given a string of length at least consisting of lowercase English letters. Abbreviate in the same way.
Constraints
- ( denotes the length of .)
- consists of lowercase English letters.
Input
Input is given from Standard Input in the following format:
Output
Print the abbreviation of .
Sample Input 1
internationalization
Sample Output 1
i18n
Sample Input 2
smiles
Sample Output 2
s4s
Sample Input 3
xyz
Sample Output 3
x1z