#include <cstdlib> #include <string> #include <iostream> #include <thread> #include <array> using namespace std; int main(int argc, char *argv[]) { string str; cin>>str; string rstr; rstr.replace(rstr.begin(), rstr.end(),str.rbegin(),str.rend()); cout<<rstr; while(1); return EXIT_SUCCESS; }