#include using namespace std; #define ld long double #define ll long long #define ALL(a) (a).begin(),(a).end() #define ALLR(a) (a).rbegin(),(a).rend() #define spa << " " << #define MP make_pair #define test cout<<"test"<; void chmin(ll &a,ll b){if(a>b)a=b;} void chmax(ll &a,ll b){if(a>p>>q>>r>>a>>b>>c; ll s,t; s=(a-1)*p+1;t=a*p; //cout<t)cout<<-1<