#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n;
  cin >> n;
  if (n <= 2) {
    cout << -1 << endl;
  } else {
    long long arr[n + 1];
    arr[1] = 2;
    for (long long i = 2; i < n; i++) {
      arr[i] = arr[i - 1] * 2LL;
    }
    arr[n] = 21LL;
    arr[1] = arr[1] * 7LL;
    for (long long i = 2; i < n; i++) {
      arr[i] = arr[i] * 3LL;
    }
    for (long long i = 1; i <= n; i++) {
      cout << arr[i] << endl;
    }
  }
}
