w,h = [int(i) for i in input().split()] if w // h > 0: print("TATE") else: print("YOKO")