tateyoko_list = [int(i) for i in input().split()] tate = tateyoko_list[0] yoko = tateyoko_list[1] if tate > yoko: print("TATE") else: print("YOKO")