#!/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