#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long k, out_cnt = 0, pre_num = 1, nine_count = 0;
  cin >> k;
  while (out_cnt < k) {
    cout << pre_num;
    for (int i = 0; i < nine_count; i++) {
      cout << 9;
    }
    cout << endl;
    pre_num++;
    if (pre_num > 9) {
      pre_num = 1;
      nine_count++;
    }
    out_cnt++;
  }
  return 0;
}
