#include <bits/stdc++.h>
using namespace std;
long long k;
void cal(int num) {
  for (int i = 1; i <= num; ++i) cout << i << endl;
}
int main() {
  while (cin >> k) {
    if (k <= 9) {
      cal(k);
      continue;
    }
    cal(9);
    k -= 9;
    for (int i = 1; i <= k; ++i) {
      int num = i * 10 + 9;
      cout << num << endl;
    }
  }
  return 0;
}
