#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAXSIZE 100
void reverse(){
//反序输出字符串
char s[MAXSIZE];
char st[MAXSIZE];
int top=-1;
scanf("%s",s);
int n=strlen(s);
for(int i=0;i<n;i++){
st[++top]=s[i];
}
while(top>-1){
printf("%c",st[top--]);
}
}
int main()
{
reverse();
}
03-31
144
07-12
1340
07-27