#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1, -1, 0, 0};
int dy[4] = {0, 0, 1, -1};
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  long long int k;
  cin >> k;
  vector<long long int> vec;
  long long int a[9] = {2, 3, 4, 5, 6, 7, 8, 9, 10};
  for (long long int i = 0; i < 16; i++) {
    for (auto j : a) {
      vec.push_back(j * pow(10, i) - 1);
    }
  }
  for (long long int i = 0; i < k; i++) {
    if (vec[i] % 2 == 0 && vec[i] > 10) vec[i]++;
    cout << (vec[i]) << "\n";
  }
  return 0;
}
