a,b=map(int,input().split()) if(a/b==0.75): print('YOKO') else: print('TATE')