#include <bits/stdc++.h>
using namespace std;
double PI = 4.00 * (atan(1));
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int n;
  cin >> n;
  if (n == 2) {
    cout << "-1";
    exit(0);
  }
  long long int arr1[n];
  arr1[0] = 6;
  for (long long int i = 3; i < n; i += 3) {
    if (i % 2 == 0) {
      arr1[i] = arr1[i - 3] * 2;
    } else {
      arr1[i] = arr1[i - 3] * 3;
    }
  }
  arr1[1] = 15;
  for (long long int i = 4; i < n; i += 3) {
    if (i % 2 == 0) {
      arr1[i] = arr1[i - 3] * 5;
    } else {
      arr1[i] = arr1[i - 3] * 3;
    }
  }
  arr1[2] = 10;
  for (long long int i = 5; i < n; i += 3) {
    if (i % 2 == 0) {
      arr1[i] = arr1[i - 3] * 2;
    } else {
      arr1[i] = arr1[i - 3] * 5;
    }
  }
  for (long long int i = 0; i < n; i++) {
    cout << arr1[i] << endl;
  }
  return 0;
}
