#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  for (int i = 0; i < K; ++i) {
    int a = i % 9 + 1;
    int b = i / 9 + 1;
    string res(b, '9');
    res = to_string(a) + res;
    cout << res << endl;
  }
  return 0;
}
