#include #include int main () { char s [11], t; int i, n; scanf ("%s", s); n = strlen (s); for (i = 1; i < n - 1 - i; i++) { t = s[i]; s[i] = s[n - 1 - i]; s[n - 1 - i] = t; } printf ("%s\n", s); return 0; }