  #include<bits/stdc++.h>
  #define N 100005
  #define int long long
  using namespace std;
  int arr[N];

  int main() {
    int k;cin >> k;

    vector<int> vec;
    for(int i = 1; i < 10;i++) {
      vec.push_back(i);
      cout << i << endl;
      k--;
      if(k == 0) return 0;
    }
    while(k) {
      for(int i = 0; i < 9;i++) {
        vec[i] = vec[i]*10+9;
        cout << vec[i] <<endl;;
        k--;
        if(k == 0) {return 0;}
      }
    }


  }
