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