# your code goes here s = input() s = s[::-1] for i in range(len(s)): if s[i]=='<': print('>',end='') else: print('<',end='') print()