#include #include #include #include using namespace std; #define P(x) cout << x << endl #define rep(i,n) for(int i=0;i>a; int x = a-7; if(x>0 && x>7) P(x); else P(-1); }