//第4题 #include <iostream> using namespace std; int main() { int n,t; cin>>n; t=n; while(t!=0){ n=n*10+t%10; t/=10; } cout<<n; return 0; }