S = list(input()) S = S[::-1] for i in range(len(S)): S[i] = "<" if S[i] == ">" else ">" print("".join(S))