#!/usr/bin/env python #coding:UTF-8 #入力値の受け取り S = raw_input() #文字数計算 SL = len(S) #反転処理 for i in range(0,SL - 1): if S[i] == "<": S2[i] = ">" else: S2[i] = "<" print S2