S = input() print("".join(">" if s == "<" else "<" for s in reversed(S)))