*a, = map(int,input().split()) g = 0 for ai in a: g ^= ai%4 print("Taro" if g else "Jiro")