#include <stdio.h> int main (void) { int number,i=0; scanf("%i",&number); do { printf ("%i",number%10); number/=10; }while(number!=0); return 0; }