#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; void solve() { string a, b; cin >> a >> b; string ans = "No"; if (a.back() % 2 == 0 && b.back() % 2 == 0) ans = "Yes"; else if (a.back() % 2 == 1 && b.back() % 2 == 0) { if (b.size() > 1 && (stoi(b.substr(b.size() - 2))) >= 10) ans = "Yes"; } cout << ans << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }