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