print("".join("<" if i==">" else ">" for i in input()[::-1]))