#include #include #include using namespace std; int main(int argc, char** argv) { cin.tie(0); ios::sync_with_stdio(false); string s; cin >> s; reverse(s.begin(), s.end()); cout << s << endl; return 0; }