import java.util.*;
public class main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String val;
while(input.hasNext()) {
val = input.nextLine();
System.out.println(val.equals(new StringBuilder(val).reverse().toString())?"yes":"no");
}
}
}