#include using namespace std; using ll=long long; const int INF=1e9; int main() { cin.tie(nullptr),cout.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; int a=n/100; int b=(n/10)%10; int c=(n%100)%10; if(a+c==b){ cout << "Yes" << endl; return 0; } cout << "No" << endl; }