import java.util.Scanner;
//判断回文数
public class Demo3 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int input = sc.nextInt();
String s = String.valueOf(input);
String r = new StringBuffer(s).reverse().toString();
if (r.equals(s)){
System.out.println("true");
}else {
System.out.println("false");
}
}
}
10-08