#include #include #include using namespace std; int main() { string s; cin >>s; reverse(s.begin(), s.end()); for(const char c: s){ if(c == '<'){ cout << ">"; } else { cout << "<"; } } cout << endl; return 0; }