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