#include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main(void) {
  long long k;
  cin >> k;
  for (long long i = 1; i < 30; i++) {
    for (long long j = 1; j <= 9; j++) {
      string s = "";
      s += j + '0';
      for (long long k = 0; k < i - 1; k++) {
        s += '9';
      }
      if (k) {
        cout << s << endl;
        k--;
      } else
        return 0;
    }
  }
}
