#include <bits/stdc++.h>
int main() {
  long long k;
  long long ten_pow[16]{};
  int increase[16]{};
  scanf("%lld", &k);
  ten_pow[0] = 1;
  for (int i = 1; i < 16; i++) {
    ten_pow[i] = ten_pow[i - 1] * 10;
  }
  for (long long i = 1; i <= k; i++) {
    long long keta = (i + 8) / 9;
    printf("%lld\n",
           ten_pow[keta - 1] - 1 + ((i + 8) % 9 + 1) * ten_pow[keta - 1]);
  }
  return 0;
}
