#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  for (int i = 0; i < (K); i++) {
    int keta = i / 9;
    int amari = i % 9 + 1;
    cout << amari;
    for (int ii = 0; ii < (keta); ii++) cout << 9;
    cout << endl;
  }
  return 0;
}
