#include <bits/stdc++.h>
using namespace std;
long long k, countn = 0, now = 1, index1 = 0, x = 0;
int main() {
  int i, j;
  cin >> k;
  while (k > countn) {
    for (i = 1; i <= 9; i++) {
      cout << (long long)i * now + index1 << endl;
      countn++;
      if (k == countn) break;
    }
    now *= 10;
    index1 *= 10;
    index1 += 9;
    x += 9;
  }
  return 0;
}
