#include #define rep(i,a,n) for (int i = a;i < n;i++) using namespace std; int main() { int a; cin >> a; if(a > 14){ cout << a-7 << endl; }else{ cout << -1 << endl; } }