#include using namespace std; #define ALL(a) (a).begin(),(a).end() #define ALLR(a) (a).rbegin(),(a).rend() #define spa << " " << #define test cout<<"test"<; void chmin(ll &a,ll b){if(a>b)a=b;} void chmax(ll &a,ll b){if(a>v,ll h,ll w){for(ll i=0;iv,ll h,ll w){for(ll i=0;iv,ll n){cout<second++; int main(){ ll res=0,res1=INF,res2=-INF,buf=0; bool judge = true; ll n;cin>>n; string s[3]; vectora(3); cin.ignore(); rep(i,0,3){ getline(cin,s[i]); if(count(ALL(s[i]),' ')!=0){ judge=false; break; } else{ a[i]=stoll(s[i]); } } //cout<