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