#include using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (int)(n); i++) template bool chmin(T& a, T b){if(a > b){a = b; return true;} return false;} template bool chmax(T& a, T b){if(a < b){a = b; return true;} return false;} const long long mod=998244353; const long long mod2=469762049; int main(){ cin.tie(0)->sync_with_stdio(0); cout.tie(0); int N;cin>>N; int a=N%10; N/=10; int b=N%10; N/=10; int c=N%10; if(a+c==b) cout<<"Yes\n"; else cout<<"No\n"; }