using System;
using System.Collections.Generic;
using System.Linq;

namespace ConsoleApp1
{
	class Program
	{
		static void Main(string[] args)
		{
			var input = long.Parse(Console.ReadLine());

			long count = 1;
			foreach(var i in getMinimumDigitIs9(input))
			{
				Console.WriteLine(i);
				count++;
			}
		}

		private static IEnumerable<long> getMinimumDigitIs9(long count)
		{
			long current = 1;
			int sub = 0;
			long tasukazu = 10;
			for (long i = 0; i < count; i++)
			{
				yield return current;
				if (i < 8)
				{
					current++;
				}
				else
				{
					current += tasukazu;
					sub++;
					if (sub == 9)
					{
						tasukazu *= 10;
						sub = 0;
					}
				}
			}
		}
	}
}
