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