import java.util.Deque;
import java.util.LinkedList;
import java.util.Scanner;
public class ReturnString {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String s = sc.nextLine();
char[] c = s.toCharArray();
Deque<Character> deque = new LinkedList<>();
boolean status = true;
for (int i = 0; i < c.length; i++) {
deque.push(c[i]);
}
for (int i = 0; i < c.length; i++) {
if (c[i] != deque.pollFirst()) {
status = false;
System.out.println("no");
break;
}
}
if (status) {
System.out.println("yes");
}
}
}
}