import numpy as np N = np.fromstring(input(), sep=" ", dtype=int) print("Taro" if np.bitwise_xor.reduce(N % 4) else "Jiro")