#include<bits/stdc++.h>

using namespace std;

#define fast_io ios::sync_with_stdio(false); cin.tie(NULL);

int sum(int n)
{
	int s = 0;
	while (n)
	{
		s += n%10;
		n /= 10;
	}
	return s;
}

int main()
{
	fast_io;
	long long SIZE = 9;
	long long array[SIZE] = {1,2,3,4,5,6,7,8,9};
	long long k; 
	cin >> k;
	for (int i = 0; i < min(k, SIZE); ++i)
	{
		cout << array[i] << "\n";
		
	}
	k -= SIZE;

	int i = 0;
	while (k > 0)
	{
		array[i] *= 10;
		array[i] += 9;
		cout << array[i] << "\n";
		k--;
		i++;
		i %= SIZE;
	}

	
	return 0;
}
