#include "bits/stdc++.h"
using namespace std;
#define MOD 1000000007
#define Nmax 200010
#define FOR(i,a,b) for(long long i=(a);i<(b);i++)
#define REP(i,n)  FOR(i,0,n)
#define ITR(itr,mp) for(auto itr = (mp).begin(); itr != (mp).end(); ++itr)
#define dump(x)  cout << #x << " = " << (x) << endl;
#define debug(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;
typedef long long ll;
 
int main() {
	ll K;
	cin >> K;
	ll ans=0;
	int keta=0;
  	ll cnt=0;
  	bool flag=false;
  	ll ansa[Nmax]={};
	for(;;){
		for(ll j=2;j < 11;j++){
			ans=j*pow(10,keta)-1;
			if(ans>1000000000000000) {flag=true; break;}
          	ansa[i]=ans;
          	i++;
			cnt++;
			if(cnt>=K) {flag=true; break;}
		}
	keta++;
	if(flag) break;
	}
	keta=1;
	for(;;){
		for(ll j=2;j < 11;j++){
			ans=j*pow(10,keta)-2;
			ansa[i++]=ans;
			cnt++;
			if(cnt>=K) {flag=true; break;}
		}
	keta++;
	if(flag) break;
	}
  REP(i,K) cout << ansa[i] << endl;
	return 0;
}