#include //cin, cout #include //vector #include //sort,min,max,count #include //string,getline, to_string #include //abs(int) #include //swap, pair #include //deque #include //INT_MAX #include //bitset #include //sqrt, ceil. M_PI, pow, sin #include //fixed #include //setprecision using namespace std; int main() { string S; cin >> S; for (int i = S.length() - 1; i >= 0; i--) { if (S[i] == '<') { cout << '>'; } else { cout << '<'; } } cout << endl; return 0; }