atcoder#ARC099B. [ABC101D] Snuke Numbers
[ABC101D] Snuke Numbers
Score : points
Problem Statement
Let denote the sum of the digits in the decimal notation of . For example, .
We will call an integer a Snuke number when, for all positive integers such that , holds.
Given an integer , list the smallest Snuke numbers.
Constraints
- The -th smallest Snuke number is not greater than .
Input
Input is given from Standard Input in the following format:
Output
Print lines. The -th line should contain the -th smallest Snuke number.
10
1
2
3
4
5
6
7
8
9
19