#include #include #include #include #include #include #include #include #include #include #include using namespace std; #define ll long long #define INF (1 << 30) #define INFLL (1LL << 60) int main() { string str; cin >> str; for(int i = str.size() - 1;i >= 0;i--){ if(str[i] == '>'){ cout << "<"; }else{ cout << ">"; } } cout << endl; return 0; }