for c in reversed(input()): print(">" if c == "<" else "<", end="") print("")