# ===================================
# (c) MidAndFeed aka ASilentVoice
# ===================================
# import math 
# import collections
# import string
# ===================================
def s(n):
	ans = 0
	for x in str(n):
		ans += int(x)
	return ans

k = int(input())
it = 0
i = 1
while it < k:
	if i < 10:
		print(i)
		i += 1
	elif i >= 10:
		if i == 10:
			i += 9
		else:
			i += 10
		print(i)
	it += 1

