main = getLine >>= putStrLn . reverse . map (\c -> if c == '>' then '<' else '>')