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

京公网安备 11010502036488号