#include<iostream>
#include<string>
#include<algorithm>
#include<utility>
#include<vector>
#include<map>
#include<set>
#include<tuple>
#include<stack>
#include<queue>
#include<functional>
#include<iterator>
#include<cmath>

using namespace std;

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);

	unsigned long long k;
	cin >> k;	

	unsigned long long ans[k] = {1,2,3,4,5,6,7,8,9,19};
	unsigned long long num = 10;
	unsigned long long check=100;
	unsigned long long tmp = 19;
	for(; num < k; num++){
		if(tmp ==  (check-1)){
			check *= 10;
		}

		tmp += (check/10);
		ans[num] = tmp;
	}
	for(long long i=0;i<k;i++){
		cout << ans[i] << "\n";
	}
	
		
	return 0;
}