#include #include using namespace std; int main(){ string s; cin >> s; reverse(s.begin(),s.end()); for(int i = 0;i < s.size();i++) cout << (s[i] == '>' ? '<' : '>'); cout << endl; }