K = int(input())
nums = [x for x in range(1,10)]
limit = pow(10,15)
count = 9
now = 0
while count < K:
  if now == 0:
    nums.append(19)
  else:
    if 13 <= now:
      break
    nums.append(199*pow(10,now-1))
  count += 1
  now += 1
for i in range(len(nums)):
  print(nums[i])