#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x=ev; int& ret=memo[A[0]][A[1]][A[2]][A[3]][v]; if(ret==-1) { ret=0; int i,j; FOR(j,4) { for(i=1;i<=min(A[j],3);i++) { A[j]-=i; if(A[j]==0) { if(win(ev/2)==0) ret=1; } else { if(win(ev)==0) ret=1; } A[j]+=i; } } } return ret; } void solve() { int i,j,k,l,r,x,y; string s; cin>>A[0]>>A[1]>>A[2]>>A[3]; T=A[0]+A[1]+A[2]+A[3]; MINUS(memo); if(win(0)) cout<<"Taro"<