#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (scanf("%d", &n) != EOF) {
    if (n == 1 || n == 2) {
      printf("-1\n");
      continue;
    } else {
      printf("100 99");
      for (int i = 1; i <= n - 2; i++) {
        printf(" %d", i);
      }
      printf("\n");
    }
  }
  return 0;
}
