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