L=[int(x)%4 for x in input().split()] ans = 0 for l in L: ans ^= l print("Taro" if ans else "Jiro")