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