#include using namespace std; typedef long long ll; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b>X>>Y; auto mov=[&](){ if(X==Y) cout<<"B"<Y-1) cout<<"A"<<" "<<1<<" "<Y+1) cout<<"A"<<" "<<1<<" "<X-1) cout<<"A"<<" "<<2<<" "<>c; if(c=='C') exit(0); if(c=='A'){ ll a,b;cin>>a>>b; if(a==1) X-=b; else Y-=b; }else{ X=0; Y=0; } }; if((X+1==Y&&Y%2==0)||(Y+1==X&&X%2==0)){ cout<<"Second\n"; wait(); }else{ cout<<"First\n"; } while(1){ mov(); wait(); } }