#include <bits/stdc++.h>
long long Addition(long long N) {
  long long out = 0;
  long long n = N;
  while (n > 0) {
    out += n % 10;
    n /= 10;
  }
  return out;
}
double S(long long N) {
  double out;
  out = (double)N / (double)Addition(N);
  return out;
}
int main() {
  long long K;
  long long out = 19;
  scanf("%lld", &K);
  if (K < 10) {
    for (long long i = 1; i <= K; i++) {
      printf("%lld\n", i);
    }
    return 0;
  } else {
    K -= 9;
    for (int i = 1; i <= 9; i++) {
      printf("%d\n", i);
    }
    while (K > 0) {
      printf("%lld\n", out);
      out += 10;
      K--;
    }
  }
  return 0;
}
