N = list(map(int,input().split())) tmp = 0 for n in N: tmp ^= (n % 4) if tmp == 0: print("Jiro") else: print("Taro")