#include using namespace std; typedef long long ll; typedef string str; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); ll s; cin >> s; ll a = s / 10 / 10, b = s / 10 % 10, c = s % 10; if (a + c == b) cout << "Yes\n"; else cout << "No"; return 0; }