#!/usr/bin/env python #coding:UTF-8 S = raw_input() N = len(S) for i in range(0,N): if S[I] == '<': S[I] = '>' elif S[I] == '>': S[I] = '<' print S