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