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