s = input()[::-1] for i in s: if i == '>': print('<') else: print('>')