#include <bits/stdc++.h>
using namespace std;
int main() {
  char b[10005], a[100005];
  gets(a);
  for (int i = strlen(a); i >= 1; i--) {
    for (int j = 0; j < strlen(a); j++) b[j] = a[i];
  }
  if (strcmp(a, b))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
