游客 Signup | Login
中文 | En

1164 - C语言6.12

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 32 MB

的值,其中a是一个数字,n表示a的位数,例如:

2+22+222+2222+22222(此时n=5)

Input

两个整数a和n。

Output

计算出的Sn的值

请注意行尾输出换行。

Examples

Input Format

2 5

Output Format

24690