A,B=map(int,input().split()) if A/B==4/3: print('TATE') else: print('YOKO')