#include <stdio.h>
#include<math.h>
main()
{
	int x,a,b,c,e;
	printf("在键盘上任意输入一个三位数x:\n");
	scanf("%d",&x);
	x=abs(x);
	a=x/100;
	b=(x-a*100)/10;
    c=x% 10;
	e=c*100+b*10+a;
	printf("这个三位数的逆序数为:%d\n",e);
	
	
}