#include #include #include #include #include //--------------------------- using namespace std; //--------------------------- #define REP(i,n) for(int i = 0; i < (n); i++) #define P(x) cout << (x) //--------------------------- int main(){ std::ios::sync_with_stdio(false); std::cin.tie(0); string s;cin >> s; REP(i,s.size()){s[i] == '>' ? P('<'):P('>');} return 0; }