#include <bits/stdc++.h>
long long mypow(long long x, long long y) {
  long long result = 1ll;
  for (long long i = 0ll; i < y; i++) {
    result *= x;
  }
  return result;
}
int main() {
  long long K;
  std::cin >> K;
  for (long long n = 0ll; n <= 15ll; n++) {
    for (long long a = 2ll; a <= 10ll; a++) {
      std::cout << (a * mypow(10ll, n) - 1ll) << std::endl;
      K--;
      if (K <= 0ll) {
        break;
      }
    }
    if (K <= 0ll) {
      break;
    }
  }
  return 0;
}
