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