#include <bits/stdc++.h>
int main() {
  long long k = 0, f = 0;
  std::cin >> k;
  for (long long i = 1; i <= k; i++) {
    f += 1;
  pro:
    std::cout << f << std::endl;
    if (f % 9 == 0) {
      f += 10;
      goto pro;
    }
  }
}
