#include <bits/stdc++.h>
using namespace std;
bool primes[10000];
vector<int> p;
void make() {
  for (int i = 2; i * i < 10000; i++)
    if (primes[i] == false)
      for (int j = 2 * i; j < 10000; j += i) primes[j] = true;
  for (int i = 6; i < 10000; i++)
    if (primes[i] == false) p.push_back(i);
}
int main() {
  int n;
  cin >> n;
  if (n <= 2) {
    puts("-1");
    return 0;
  }
  cout << "6" << endl << "15" << endl;
  make();
  for (int i = 2; i < n; i++) {
    cout << 2 * 5 * p[i - 2] << endl;
  }
  return 0;
}
