Problem1069--C++语言 6.3

1069: C++语言 6.3

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

求Sn=a+aa+aaa+…+aa…aaa(有n个a)之值,其中a是一个数字 ,等于2。 例如:2+22+222+2222+22222(n=5),n由键盘输入。

Input

n

Output

Sample Input Copy

5

Sample Output Copy

24690

Source/Category