#include #define rep(i, a, n) for(int i = a; i < n; i++) #define repp(i, n) rep(i, 0, n) #define repb(i, a, b) for(int i = a; i >= b; i--) #define all(a) a.begin(), a.end() #define int long long using namespace std; signed main(){ string s; cin >> s; rep(i, 0, s.size()){ if(s[i] == '<') s[i] = '>'; else s[i] = '<'; } cout << s << endl; }