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