Tổng của dãy

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Viết chương trình tính tổng n số đầu tiên của dãy [ 9 + 99 + 999 + 9999 +...].

Input Input một dòng duy nhất số nguyên n (n≤16)

Output
Output một dòng duy nhất tổng của dãy

Examples

Input

5

Output

111105

Comments

Please read the guidelines before commenting.


There are no comments at the moment.