#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { string text; cin>>text; reverse(text.begin(), text.end()); cout<<text<<endl; return 0; }
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { string text; cin>>text; reverse(text.begin(), text.end()); cout<<text<<endl; return 0; }