#!/usr/bin/env python3 # -*- coding: utf-8 -*- def solve(n): x = 0 for i in n: x ^= i if x == 0: return False else: return True n = list(map(int,input().split())) if solve(n): print("Taro") else: print("Jiro")