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