#include using namespace std; #define rep(i,a,b) for(int i=a;i> s; rep(i, 0, s.length()) { int j = s.length() - 1 - i; if (s[j] == '>') cout << "<"; else cout << ">"; } cout << endl; }