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