#include <bits/stdc++.h>
using namespace std;
int main()
{
string a;
getline(cin,a);
int first=0,end=a.size()-1,flag=0;
while(end<first)
{
if(a[end]!=a[first])
{
flag=1;
break;
}
end--;
first++;
}
if(!flag)
{
cout << "yes";
}
else
{
cout << "no";
}
return 0;
}