#include<stdio.h>
#include<math.h>
int Reverse(unsigned int s)
{ int a,b,c,d,e;
int p,k;
printf("input your int:");
scanf("%d",&s);
a=s%10;
b=s/10;
c=b%10;
e=c/10;
d=e%10;
p=s/1000;
k=a*1000+c*100+d*10+p;
return 1;
}int main()
{ int a,b,c,d,e;
int p,s,k;
printf("input your int:\n");
scanf("%d",&s);
a=s%10;
b=s/10;
c=b%10;
e=b/10;
d=e%10;
p=s/1000;
k=a*1000+c*100+d*10+p;
printf("%d",k);
return 1;
}