#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  long long a, b;
  a = 1;
  b = 1;
  for (int i = 0; i < K; i++) {
    cout << a << endl;
    if ((a + 1) % (10 * b) == 0) {
      b *= 10;
      a = 2 * b - 1;
      continue;
    }
    a += b;
  }
}
