#include <bits/stdc++.h>
using namespace std;
inline long long ceil(long long a, long long b) { return (a + b - 1) / b; }
void func() {
  long long n;
  cin >> n;
  if (n == 2) {
    cout << "-1\n";
    return;
  }
  long long sv[400];
  for (long long i = 2; i < 400; i++) sv[i] = i;
  long long cnt = 0;
  vector<long long> v;
  for (long long i = 2; i < 400; i++) {
    if (sv[i] == i) {
      v.push_back(i);
      cnt++;
      long long j = i;
      while (j < 400) {
        sv[j] = i;
        j += i;
      }
    }
  }
  long long ans[n];
  ans[0] = 10, ans[1] = 105;
  cout << ans[0] << "\n" << ans[1] << "\n";
  for (long long i = 2; i < n; i++) {
    ans[i] = 6 * v[2 + i];
    cout << ans[i] << "\n";
  }
}
int main() {
  {
    ios ::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
  }
  long long ntc = 1;
  for (long long i = 1; i < ntc + 1; i++) {
    func();
  }
  return 0;
}
