#include<stdio.h>
int main()
{
int x;
printf("请输出一个数");
scanf("%d",&x);
int dight;
int ret = 0;
while(x>o)
{
dight = x%10;
ret = ret*10+dight;
x/=10;
}
printf("%d",ret);
return 0;
}