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