#include <bits/stdc++.h>
using namespace std;
int main(void) {
  unsigned long long int K;
  cin >> K;
  unsigned long long int out1 = 0, out2 = 0;
  for (long long int i = 0; i < K; i++) {
    unsigned long long int fact = i / 9;
    unsigned long long int add = 1;
    if (fact < 18) {
      for (long long int j = 0; j < fact; j++) add *= 10;
      out1 += add;
    } else {
      fact -= 18;
      for (long long int j = 0; j < fact; j++) add *= 10;
      out2 += add;
    }
    if (out2 > 0) {
      cout << out2;
    }
    cout << out1 << endl;
  }
  return 0;
}
