import sequtils,strutils,math var N = stdin.readline.split.map(parseInt) p : int for n in N: p = (p xor (n mod 4)) if p == 0: echo "Jiro" else: echo "Taro"