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