#include <stdio.h> #include <string.h> int main() { char a[2000]; while (scanf("%s ", a) != EOF) { int i=strlen(a);int j=0;i=i-1;int tag=1; while(1){ if(a[i]!=a[j]){ tag=0; break; } i--;j++; if(i<=j)break; } if(tag==1){printf("Yes!\n");} else{printf("No!\n");} } return 0; }