A = list(map(int, input().split())) t = 0 for a in A: t ^= (a%4) if t == 0: print('Jiro') else: print('Taro')