#include <bits/stdc++.h>
using namespace std;
double s(double n) {
  int n_ = long(n);
  double sum = 0;
  while (n_ != 0) {
    sum += n_ % 10;
    n_ /= 10;
  }
  return sum;
}
double sunuke(double n) { return double(n) / double(s(n)); }
int main() {
  double k;
  cin >> k;
  int c = -1;
  int t = 0;
  for (int i = 0; i < (k); ++i) {
    if (i % 9 == 0) {
      ++c;
      t = 0;
    }
    cout << ++t;
    for (int j = 0; j < (c); ++j) {
      cout << 9;
    }
    cout << endl;
  }
}
