12 lines
189 B
C++
12 lines
189 B
C++
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
int main(){
|
|
char a[10]="";
|
|
scanf("%c%c%c%c%c",&a[0],&a[1],&a[2],&a[3],&a[4]);
|
|
for(int i=strlen(a);i>=0;i--){
|
|
printf("%c",a[i]);
|
|
}
|
|
return 0;
|
|
}
|