#include #include #include #include #include #include #include #include #include #include #include #include typedef long long ll; using namespace std; #define mod 1000000007 #define INF 1000000000 #define LLINF 2000000000000000000LL #define PI 3.1415926536 #define SIZE 1000 int main(){ int a,b,c,d,sum,ans; scanf("%d%d%d%d",&a,&b,&c,&d); a%=4; b%=4; c%=4; d%=4; ans = a^b^c^d; if(ans==1){ puts("Taro"); }else if(ans==0){ puts("Jiro"); } return 0; }