#include <cstdio> #include <cstring> #include <iostream> #include <stdio.h> #include <iomanip> #include <string> using namespace std; int main() { int n; cin >> n; int l = n % 100; int f = (n - l) / 100; if(l == f) { cout << "YES"; } else { cout << "NO";2 } return 0; }