#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int n,a,b,c,d;
printf"Enter 4-digit number:\n");
scanf("%d",&n);
b=n/1000;
n=n%1000;
c=n/100;
n=n%100;
d=n/10;
n=n%10;
printf("The inverse order is %d%d%d%d",n,d,c,b);
getch();
}