#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  if (n < 10) {
    for (int i = 0; i < n; i++) {
      cout << i + 1 << endl;
    }
  } else if (n >= 10) {
    cout << 1 << endl;
    cout << 2 << endl;
    cout << 3 << endl;
    cout << 4 << endl;
    cout << 5 << endl;
    cout << 6 << endl;
    cout << 7 << endl;
    cout << 8 << endl;
    cout << 9 << endl;
    for (int i = 10; i <= n; i++) {
      cout << i + 9 << endl;
    }
  }
  return 0;
}
