//interactive ll Z,W,i=0,j;string A="A",B="B",P="First",Q="Second";void G(){string@C;ll@k,@x;if(k==i)Z-=x;else if((W-=x)2){wt(A,j,W-2);W=2;F();}else{G();F();}}else if(Z>2){if(Z2)?P:Q);F();}