m = {"<":">", ">":"<"} ans = "" for s in input()[::-1]: ans += m[s] print(ans)