import java.util.Scanner;
public class Palindrome{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str;
while( sc.hasNext() ){
str = sc.nextLine();
String tmp = "";
int length = str.length() - 1;
for(int i = length; i >= 0; i--){
tmp += str.charAt(i);
}
if( str.equals(tmp) ){
System.out.println("yes");
}
else{
System.out.println("no");
}
}
}
}
題目參考程式