#include #define ll long long #define fi first #define se second using namespace std; ll n; int main(){ cin>>n; if(n==1 || n==2 || n==3 || n==4 || n==5 || n==7){ cout<<-1<