k = int(input())
l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99, 199, 299, 399, 499, 599, 699, 799, 899, 999, 1099, 1199, 1299, 1399, 1499, 1599, 1699, 1799, 1899, 1999, 2999, 3999, 4999, 5999, 6999, 7999, 8999, 9999, 10999, 11999, 12999, 13999, 14999, 15999, 16999, 17999, 18999, 19999, 20999, 21999, 22999, 23999, 24999, 25999, 26999, 27999, 28999, 29999, 30999, 40999, 50999, 60999, 70999, 80999, 90999, 100999, 110999, 120999, 130999, 140999, 150999, 160999, 170999, 180999, 190999, 200999, 210999, 220999, 230999, 240999, 250999, 260999, 270999, 280999, 290999, 300999, 400999, 500999, 600999, 700999, 800999, 900999, 1000999, 1100999, 1200999, 1300999, 1400999, 1500999, 1600999, 1700999, 1800999, 1900999, 2000999, 2100999, 2200999, 2300999, 2400999, 2500999, 2600999, 2700999, 2800999, 2900999, 3000999, 4000999, 5000999, 6000999, 7000999, 8000999, 9000999, 10000999, 11000999, 12000999, 13000999, 14000999, 15000999, 16000999, 17000999, 18000999, 19000999, 20000999, 21000999, 22000999, 23000999, 24000999, 25000999, 26000999, 27000999, 28000999, 29000999, 30000999, 40000999, 50000999, 60000999, 70000999, 80000999, 90000999]
for i in range(k):
    print(l[i])