char moji[100];
int b;

scanf("%s%n",moji,&b);
while(printf("%c",*(moji+(b--))) && b >-1);