print("".join([{'>':'<', '<':'>'}[i] for i in list(input())[::-1]]))