s = input() t = "" for i in s: if i == ">": t += "<" else: t += ">" print(t)