import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String n = scan.next(); for(int i = 0,j = n.length() - 1; i <= j; i++, j--) { if(n.charAt(i) != n.charAt(j)) { System.out.println("No"); return ; } } System.out.println("Yes"); } }