S=input() S=S[::-1] for i in S: print("<" if i==">" else ">",end="") print()