#include <stdio.h> #include <stdlib.h> int main() { char c[10]; int i; scanf("%s",c); for (i =10; i >= 0; i--) { printf("%c", c[i]); } return 0; }