import Data.Bool main = getLine >>= putStrLn . reverse . map (bool '>' '<' . (==('>')))