#include <bits/stdc++.h>
using namespace std;
int ketawa(long long n) {
  int sum = 0;
  while (n > 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  long long k;
  cin >> k;
  for (int i = (0); i < (int)(min(9LL, k)); i++) {
    cout << i + 1 << endl;
  }
  if (k > 9) {
    for (int cnt = (0); cnt < (int)(k - 9); cnt++) {
      cout << 19 + cnt * 10 << endl;
    }
  }
  return 0;
}
