S=list(input()) S.reverse() for i in range(len(S)): if S[i]=='>': S[i]='<' else: S[i]='>' print(''.join(S))