#include using namespace std; using ll=long long; using pll=pair; using tll=tuple; using ld=long double; const ll INF=(1ll<<60); #define rep(i,n) for(ll i=0;i<(ll)(n);i++) #define all(v) v.begin(),v.end() template void chmin(T &a,T b){ if(a>b){ a=b; } } template void chmax(T &a,T b){ if(a> x >> y; if(abs(x-y)==1&&max(x,y)%2==0){ cout << "Second\n"; cout.flush(); while(true){ char c; cin >> c; if(c=='C'||c=='D') return 0; if(c=='A'){ ll i,j; cin >> i >> j; if(i==1) x-=j; if(i==2) y-=j; } if(c=='B'){ x=0; y=0; } if(x==y){ x=0; y=0; cout << "B\n"; cout.flush(); }else{ ll i=-1,j=-1; if(x==0){ i=2; j=y; }else if(y==0){ i=1; j=x; }else if(x> c; if(c=='C'||c=='D') return 0; if(c=='A'){ ll i,j; cin >> i >> j; if(i==1) x-=j; if(i==2) y-=j; } if(c=='B'){ x=0; y=0; } } } }