#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); string s; cin >> s; int n = s.length(); for(int i=n-1;i>=0;i--) { if(s[i]=='<') { cout << '>'; } else { cout << '<'; } } cout << '\n'; return 0; }