#include <bits/stdc++.h>
using namespace std;
int main(void) {
  unsigned long long int K;
  cin >> K;
  unsigned long long int out1 = 0, out2 = 0;
  for (unsigned long long int i = 0; i < K; i++) {
    unsigned long long int div = i / 9;
    unsigned long long int mod = (i % 9) + 1;
    cout << mod;
    for (unsigned long long int j = 0; j < div; j++) cout << 9;
    cout << endl;
  }
  return 0;
}
