#include <bits/stdc++.h>
using namespace std;
int n, a[51], b[51];
int main() {
  int n, i;
  cin >> n;
  if (n <= 2) {
    cout << -1 << endl;
    return 0;
  }
  cout << n + 2;
  for (i = 2; i <= n; i++) cout << " " << n + 3 - i;
  cout << endl;
  return 0;
}
