import Data.Bool main = getLine >>= putStrLn . bool "TATE" "YOKO" . tv . map read . words where tv [h,w] = h < (w::Int)