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