#include <bits/stdc++.h>
using namespace std;
int a[100] = {1,    2,    3,    4,    5,    6,    7,    8,    9,
              19,   29,   39,   49,   59,   69,   79,   89,   99,
              199,  299,  399,  499,  599,  699,  799,  899,  999,
              1099, 1199, 1299, 1399, 1499, 1599, 1699, 1799, 1899,
              1999, 2999, 3999, 4999, 5999, 6999, 7999, 8999, 9999};
int main() {
  long long K;
  scanf("%lld", &K);
  if (K <= 45) {
    for (int i = 0; i < K; i++) printf("%d\n", a[i]);
  } else {
    for (int i = 0; i < 45; i++) printf("%d\n", a[i]);
    K -= 45;
    long long cnt = 0;
    for (long long i = 10;; i++) {
      long long ans = i * 1000 + 999;
      cnt++;
      printf("%lld\n", ans);
      if (cnt == K) break;
    }
  }
}
