#include <iostream>
#include <algorithm>
#include <vector>

int main() {
  unsigned int K;
  std::cin >> K;

  for (size_t i = 0; i < K; ++i) {
    unsigned int group_index = i / 9;
    unsigned int index = i % 9 + 1;
    std::cout << std::pow(10, group_index) * (index + 1) - 1 << std::endl;
  }

  return 0;
}
