kao = "><" S = input() for i in range(len(S) - 1, -1, -1): print(kao[kao.index(S[i])^1], end = "") print("")