#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie();
  cout.tie();
  ;
  long long int n;
  cin >> n;
  char a[10];
  for (long long int i = 1; i <= 9; i++) {
    a[i] = i + 48;
  }
  string s = "1";
  cout << 1 << endl;
  for (long long int i = 2; i <= n; i++) {
    if (i % 9 == 0) {
      s[0] = '9';
    } else {
      long long int h = i % 9;
      if (h) {
        s[0] = a[h];
        if (i % 9 == 1 && i >= 10) {
          s += '9';
        }
      }
    }
    cout << s << endl;
    ;
  }
  return 0;
}
