#include <bits/stdc++.h>
double getSn(long long int n);
int main(void) {
  int i, j;
  long long int x = 1;
  int k;
  long long int n = 1;
  int cnt = 0;
  scanf("%d", &k);
  puts("1");
  for (i = 1; i <= k; i++) {
    if ((i - cnt) % 9 == 0) {
      if (x + n > n * getSn(x + n)) {
        n *= 10;
        cnt = 0;
      } else {
        cnt++;
      }
    }
    x += n;
    printf("%lld\n", x);
  }
  return 0;
}
double getSn(long long int n) {
  int sn = 0;
  do {
    sn += n % 10;
    n /= 10;
  } while (n != 0);
  return sn;
}
