include<stdio.h>
int main()
{
int num;
scanf("%d",&num);
int reverse=0;
while(num!=0)
{
int ge=num%10;
reverse=reverse*10+ge;
num=num/10;
}
printf("reverse=%d\n",reverse);
return 0;
}
int main()
{
int num;
scanf("%d",&num);
int reverse=0;
while(num!=0)
{
int ge=num%10;
reverse=reverse*10+ge;
num=num/10;
}
printf("reverse=%d\n",reverse);
return 0;
}