#include #include using namespace std; char f(char c){ if(c=='<')return '>'; return '<'; } int main() { // your code goes here string str; cin>>str; for(int i=str.size()-1;i>=0;i--){ cout<