#include <stdio.h>
int isPalindrome(int n);
int main() {
int n;
scanf("%d", &n);
printf(isPalindrome(n) ? “true” : “false”);
return 0;
}
int isPalindrome(int number)
{
int symbol=1,x,sum=0,i;
i=number;
while(number>0){
x = number%10;
sum = sum * 10 +x;
number/=10;
}
sum*=symbol;
return sum==i;
}