#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  for (int i = 1; i <= min(9, k); ++i) {
    cout << i << endl;
  }
  if (k <= 9) return 0;
  long long cnt = 1;
  long long first = 1;
  for (long long i = 10; i <= k; ++i) {
    if (first == 10) {
      first = 1;
      cnt++;
    }
    cout << first;
    for (long long j = 1; j <= cnt; ++j) {
      cout << 9;
    }
    cout << endl;
    first++;
  }
}
