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