module Main where import Control.Applicative main :: IO () main = do [tate, yoko] <- map (read::String->Int) . words <$> getLine putStrLn $ if tate > yoko then "TATE" else "YOKO"