h, w = map(int, input().split()) result = "TATE" if h > w else "YOKO" print(result)