#arc099b. [arc099_b]Snuke Numbers

[arc099_b]Snuke Numbers

Problem Statement

Let S(n)S(n) denote the sum of the digits in the decimal notation of nn. For example, S(123)=1+2+3=6S(123) = 1 + 2 + 3 = 6.

We will call an integer nn a Snuke number when, for all positive integers mm such that m>nm > n, fracnS(n)leqfracmS(m)\\frac{n}{S(n)} \\leq \\frac{m}{S(m)} holds.

Given an integer KK, list the KK smallest Snuke numbers.

Constraints

  • 1leqK1 \\leq K
  • The KK-th smallest Snuke number is not greater than 101510^{15}.

Input

Input is given from Standard Input in the following format:

KK

Output

Print KK lines. The ii-th line should contain the ii-th smallest Snuke number.


Sample Input 1

10

Sample Output 1

1
2
3
4
5
6
7
8
9
19