#include #define rep(i,n) for(int i = 0; i < (n); ++i) using namespace std; typedef long long ll; const int INF = 1e9; const double PI = acos(-1.0); int main(void) { cin.tie(0); ios::sync_with_stdio(false); string S; cin >> S; rep(i, S.length()) { if(S[S.length() - 1 - i] == '<') cout << ">"; else cout << "<"; } cout << "\n"; return 0; }