#define _USE_MATH_DEFINES #include using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); string n, m; cin >> n >> m; int a = n.back() - '0', b = m.back() - '0'; if (b % 2 == 1) { cout << "No" << endl; return 0; } if (a % 2 == 0) { cout << "Yes" << endl; } else { if ((int) m.length() > 1) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }