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