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