#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int64_t k;
  cin >> k;
  int64_t count = 0;
  for (int64_t i = 1; count < k; ++i) {
    cout << i << "\n";
    if (i == 9) {
      i += 9;
    }
    count++;
  }
  return 0;
}
