h,w = map(int,input().split()) if h//w == 1: print("TATE") else: print("YOKO")