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