#include <bits/stdc++.h>
using namespace std;
int n;
long long int a_2_3_factors = 1;
long long int b_3_5_factors = 1;
long long int c_2_5_factors = 1;
int main() {
  cin >> n;
  if (n == 2)
    cout << "-1" << endl;
  else {
    for (int i = 0; i < n; i++) {
      if (i != 49)
        if (i % 3 == 0) {
          a_2_3_factors = a_2_3_factors * 3 * 2;
          cout << a_2_3_factors << endl;
        } else if (i % 3 == 1) {
          b_3_5_factors = b_3_5_factors * 3 * 5;
          cout << b_3_5_factors << endl;
        } else {
          c_2_5_factors = c_2_5_factors * 5 * 2;
          cout << c_2_5_factors << endl;
        }
      else {
        cout << 3 * 2 * 11 << endl;
      }
    }
  }
  return 0;
}
