#import matplotlib.pyplot as plt

k = int(input())
"""
x = []
for i in range(1,k):
    str_number = list(map(int,str(i)))
    sum_number = sum(str_number)
    sunuke = i /float(sum_number)
    x.append(sunuke)
    print(i,":",sunuke)

plt.figure()
plt.plot(x)
plt.show()
"""

for i in range(1,k+1):
    if i < 10:
        print(i)
    else:
        print(10*(i-9)+9)