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

namespace AtCoder
{
	class Programs
	{
		static void Main ()
		{
			int k = int.Parse (Console.ReadLine ());
			long Base = 1;
			long n = 2;
			while (k > 0) {
				Console.WriteLine (n * Base - 1);
				k--;
				n++;
				if (n % 10 == 0) {
					double L = 0;
					foreach (char c in string.Join("",n*Base-1)) {
						L += c - '0';
					}
					if (((n + 10) * Base - 1) / (L + 1) < ((n + 9) * Base - 1) / L || n ==100) {
						Base *= 10;
						n /= 10;
						continue;
					}
				}
			}
		}
	}
}