# coding: utf-8 def main(): print(reversed(['<' if x == '>' else '<' for x in input()])) if __name__ == '__main__': main()