AtCoder Beginner Contest 069
B
i18n
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

The word internationalization is sometimes abbreviated to i18n. This comes from the fact that there are $18$ letters between the first i and the last n.

翻译中…

You are given a string $s$ of length at least $3$ consisting of lowercase English letters. Abbreviate $s$ in the same way.

翻译中…

Constraints

翻译中…
  • $3 ≤ |s| ≤ 100$ ($|s|$ denotes the length of $s$.)
  • $s$ consists of lowercase English letters.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

s

翻译中…

Output

翻译中…

Print the abbreviation of $s$.

翻译中…

样例

Input #1
internationalization
Output #1
i18n
Input #2
smiles
Output #2
s4s
Input #3
xyz
Output #3
x1z
题目信息
题号
abc069_b
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。