print("".join(map(lambda x: ">" if x == "<" else "<", input()[::-1])))