#include using namespace std; int main() { int n, m; cin >> n >> m; int judge = 0; for(int i = 0; i <= n; i++) { for(int j = 0; j <= m; j++) { if(i * 100 + j * 10 == (n - i) * 100 + (m - j) * 10) { judge++; } } } if(judge != 0) { cout << "Yes" << endl; } else { cout << "No" << endl; } }