#include #define rep(i,a) for(int i=0;i<(a);++i) int s, N; int main() { rep( i, 4 ) scanf( "%d", &N ), s ^= N&3; puts( s?"Taro":"Jiro" ); return 0; }