#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  for (int i = 0; i < k; ++i) {
    cout << 1 + (i % 9);
    int d = ceil((float)(i + 1) / 9);
    for (int j = 0; j < d - 1; ++j) cout << 9;
    cout << endl;
  }
}
