#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, i = 0, s = 0, r, x, j;
  cin >> n;
  while (i < n) {
    for (j = 1; j <= 9 && i < n; j++) {
      cout << j;
      x = s;
      i++;
      while (x > 0) {
        cout << 9;
        x--;
      }
      cout << endl;
    }
    s++;
  }
}
