#include<bits/stdc++.h> #include using namespace std; // write your code here...... string Swap(string &s) { string s1; int i; int j=0; for(i=s.length()-1;i>=0;i--) { s1+=s[i]; } return s1; } int main(){ string s; getline(cin,s); // write your code here...... s=Swap(s); cout<<s<<endl; return 0; }