module Main open System let hw = Console.ReadLine().Split(' ') |> Array.map int Console.WriteLine( if hw.[0] > hw.[1] then "TATE" else "YOKO" )