#include using namespace std; int main() { int N; cin >> N; int a = N / 100; int b = (N / 10) % 10; int c = N % 10; if (a + c == b) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }