#include<stdio.h> int main() { long long n,temp,rem,sum=0; scanf("%lld",&n); temp=n; while(temp!=0) { rem=temp%10; sum=sum*10+rem; temp=temp/10; } if(n==sum) { printf("Yes\n"); } else { printf("No\n"); } return 0; }
No comments