#include <bits/stdc++.h>
using namespace std;
int main(int argc, const char* argv[]) {
  int k;
  cin >> k;
  for (int i = 1; i < 10; i++) {
    cout << i << endl;
  }
  for (int i = 1; i < k - 8; i++) {
    cout << (10 * i + 9) << endl;
  }
}
