">"%r=r s%r='<':s++'>':r++"" m@main=getLine>>=putStrLn.foldr(%)"".words>>m