E029_SOTRON


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 512M

Problem type

Một số nguyên dương được gọi là số tròn nếu như tổng các chữ số (trong hệ thập phân) của nó là bội của \(10\) .

Yêu cầu:

  • Hãy tìm số tròn nhỏ thứ \(N\).

Input :

  • Số nguyên dương \(N (N ≤10^5).\)

Output:

  • In ra số tròn thứ \(N\).

Sample Input

1

Sample Output

19

Sample Input

10

Sample Output

109

Comments

There are no comments at the moment.