#include <bits/stdc++.h> using namespace std; int main() { string a;//直接用字符串 cin >> a; for(int i=3;i>=0;i--){ cout << a[i]; } return 0; }