#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long k;
  cin >> k;
  long long count = 0;
  long long digit = 1;
  int msb = 1;
  while (count != k) {
    cout << msb;
    msb++;
    for (int i = 0; i < digit - 1; i++) {
      cout << "9";
    }
    cout << endl;
    count++;
    if (msb == 10) {
      msb = 1;
      digit++;
    }
  }
}
