a=input() b=reversed(a) for i in b: if i=="<": print(">",end="") else: print("<",end="")