huzihang666 @ 2024-04-14 11:34:15
#include <iostream>
using namespace std;
int main(){
string i;
int b=0;
cin>>i;
if(i.find("0")!=string::npos){
b=i.find("0");
}
if(i[0]=='-'){
cout<<"-";
for(int a=i.size()-1-b+i.size();a>0;a--){
cout<<i[a];
}
}else{
for(int a=i.size()-1-b+i.size();a>=0;a--){
cout<<i[a];
}
}
return 0;
}