#include #include #include #define rep(i,n) for(i=0; i>s; int i; string str=""; for(int i=s.length(); i>=0; i--) { if(s[i]=='<') { str+=">"; } else if(s[i]=='>') { str+="<"; } else {} } cout << str << endl; return 0; }