main = getLine >>= putStrLn . reverse . map mirror mirror c = if c=='>' then '<' else '>'