#include <bits/stdc++.h>
using namespace std;
int main() {
  const int N = 15;
  int lp[N + 1];
  vector<int> pr;
  for (int i = 2; i <= N; ++i) {
    if (lp[i] == 0) {
      lp[i] = i;
      pr.push_back(i);
    }
    for (int j = 0; j < (int)pr.size() && pr[j] <= lp[i] && i * pr[j] <= N; ++j)
      lp[i * pr[j]] = pr[j];
  }
  int x;
  cin >> x;
  int y = 200000;
  for (int i = 0; i < x; i++) {
    cout << y << " ";
    y++;
  }
  return 0;
}
