#include <bits/stdc++.h>   using namespace std;   long long int mod = 1e9 + 7;   long long int inf = 1e9 + 7;   void solve() {     long long int n;     cin >> n;     if (n <= 2) {       cout <<  -1  << endl;     } else {       long long int i;       for (i = n; i >= 1; i--) {         cout << i <<    ;       }       cout << endl;     }   }   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     long long int t = 1;     while (t--) {       solve();     }   }   