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