A,B,C,D=map(int,input().split()) G=0 for X in [A,B,C,D]: G^=X%4 print("Taro" if G else "Jiro")