#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
printf("%d%d%d\n",a/100,a/10%10,a%10);
printf("倒序输出结果%d%d%d",a%10,a/10%10,a/100);
}
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
printf("%d%d%d\n",a/100,a/10%10,a%10);
printf("倒序输出结果%d%d%d",a%10,a/10%10,a/100);
}