S = input() l = len(S) for s in range(0, l): if S[l-1] == "<": print(">", end="") else: print("<", end="") l -= 1