#include<stdio.h>
int main() { int arr[10000] = {0}; int ch = 0,i = 0; while((ch = getchar())!=EOF) { arr[i++] = ch; } i--; i--; for(;i>=0;i--) { printf("%c",arr[i]); } return 0; }
#include<stdio.h>
int main() { int arr[10000] = {0}; int ch = 0,i = 0; while((ch = getchar())!=EOF) { arr[i++] = ch; } i--; i--; for(;i>=0;i--) { printf("%c",arr[i]); } return 0; }