s={'<':'>','>':'<'}
print(''.join([s(x) for x in input()[::-1]]))