#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int K, x;
  cin >> K;
  for (int i = 0; i < K; i++) {
    if (i < 9)
      cout << i + 1 << endl;
    else if (i == 9) {
      cout << 19 << endl;
      x = 19;
    } else {
      x += 10;
      cout << x << endl;
    }
  }
  return 0;
}
