a,b,c,d=sorted(map(int,input().split())) if a==b and c==d: print("Jiro") else: print("Taro")