#include <stdio.h>
void shiftnumber(int x)
{
//int temp,i;
if(x/10==0)
printf("%3d",x);
else
{
printf("%3d",x%10);
x/=10;
shiftnumber( x);
}
}
int main()
{
int x;
printf("input a integer number :");
scanf("%d",&x);
if(x>0)
shiftnumber(x);
return 0;
}