:293B : :1 :2022-08-31 20:04:17
#include#define N 6int main(){char str[N],*p1,*p2;int i,j,flag=1;gets(str);p1=str;p2=p1 N-2;for(;p1<=p2;p1 ,p2--){if(*p1!=*p2){flag=0;break;}}if(flag==0){printf("NO\n");}else{printf("Yes\n");}return 0;}