n = list(map(int,input().split())) nim = 0 for i in range(4): nim ^= n[i] % 4 if nim: print('Taro') else: print('Jiro')