N = input() l = list(N) ans = "" for n in range(len(l)): if l[n] == "<": ans += ">" else: ans += "<" print (ans)