#include <bits/stdc++.h>
using namespace std;
int K;
int a[11] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19};
int main() {
  scanf("%d", &K);
  if (K <= 10) {
    for (int i = 1; i <= K; ++i) printf("%d\n", a[i]);
  } else {
    for (int i = 1; i <= 10; ++i) printf("%d\n", a[i]);
    for (int i = 11; i <= K; ++i) {
      int n = i - 9;
      long long m = 2 * pow(10, n);
      --m;
      printf("%lld\n", m);
    }
    int n = K - 9;
  }
  return 0;
}
