# coding: utf-8 def main(): s = input() k = {"<":">", ">":"<"} print("".join([k[i] for i in s[::-1]])) if __name__=='__main__': main()