#include <stdio.h> int main() { char a[4]; for(int i=0;i<5;i++) { scanf("%c",&a[i]); } for(int j=0;j<=5;j++) { printf("%c",a[4-j]); } return 0; }