#include <bits/stdc++.h>
using namespace std;
int main() {
  clock_t tStart = clock();
  long long k;
  scanf("%lld", &k);
  if (k <= 10) {
    for (long long i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    cout << 19 << endl;
  } else {
    for (long long i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    cout << 19 << endl;
    long long blah = 1;
    string s = "9";
    while (k - 10) {
      cout << blah;
      cout << s;
      k -= 1;
      blah += 1;
      cout << endl;
      if (blah == 10) {
        blah = 1;
        s += '9';
      }
    }
  }
  return 0;
}
