#include using namespace std; #define rep(i,a,b) for(int i=a;i> A; int X = A - 7; if (X < 8) cout << -1 << endl; else cout << X << endl; }