#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  long long t = 1, s = 19, temp = 19, x = 10, l = 2;
  scanf("%lld", &n);
  for (long long i = 1; i <= n; i++) {
    if (i < 10) {
      cout << t << endl;
      t++;
    } else {
      long long m = log10(s) + 1;
      if (m > l) {
        l = m;
        x *= 10;
        s = (temp * 10) + 9;
        temp = s;
      }
      cout << s << endl;
      s += x;
    }
  }
  return 0;
}
