#include "bits/stdc++.h"
using namespace std;
#define MOD 1000000007
#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;
typedef pair<ll,ll> P;
typedef vector<P> Graph;

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

  int n;
  cin >> n;
  
  ll num[135];
  ll cnt = 1;
  REP(i,9){
    num[i] = i+1;
  }
  
  FOR(i,9,136){
    num[i] = num[i-9]*10+9;
  }
  
  REP(i,n){
    cout << num[i] << endl;
  }
  
  double NUM[135];
  REP(i,135){
    NUM[i] = (double)num[i]/i;
  }
  
  int cnt = 0;
  REP(i,135){
    bool f = true;
    FOR(j,i+1,n){
      if(NUM[j] < NUM[i]){
        f = false;
        break;
      }
      if(f){
        cout << num[i] << endl;
        cnt++;
      }
    }
    if(cnt == n) break;
  }

  return 0;
}