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

namespace AtCoder
{
	class Programs
	{
		static void Main ()
		{
			int k = int.Parse (Console.ReadLine ());
			if (k <= 9) {
				for (int i = 1; i < k; i++) {
					Console.WriteLine (i);
				}
			} else {
				for (int i = 1; i <= 9; i++) {
					Console.WriteLine (i);
					k--;
				}
				long Base = 10;
				long n = 2;
				while (k > 0) {
					if (n > 20) {
						Base *= 10;
						n = 2;
					}
					Console.WriteLine (n * Base - 1);
					n++;
					k--;
				}
			}
		}
	}
}