#include <bits/stdc++.h>
using namespace std;
int n;
bool v[10005];
vector<int> L;
int main() {
  memset(v, 1, sizeof(v));
  for (int i = 2; i <= 10000; i++)
    for (int j = 2; i * j <= 10000; j++) v[i * j] = 0;
  L.clear();
  for (int i = 31; i <= 10000; i++)
    if (v[i]) L.push_back(i);
  cin >> n;
  int a[55];
  switch (n) {
    case 2:
      puts("-1");
      break;
    default:
      a[1] = 6;
      a[2] = 15;
      a[3] = 10;
      for (int i = 1; i <= n; i++)
        if (i > 3)
          a[i] = 30 * L[i];
        else
          a[i] = a[i] * L[i];
      for (int i = 1; i <= n; i++) cout << a[i] << endl;
  }
}
