#include #include using namespace std; int main() { string S; cin >> S; for( int i = 0; i < S.size(); i++ ) { if( S[S.size() - i - 1] == '<' ) { cout << '>'; } else { cout << '<'; } } cout << endl; return 0; }