#include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ string n, m; int n1, m1; cin >> n >> m; n1 = n[n.size()-1] - '0', m1 = m[m.size()-1] - '0'; cout << (((!(n1%2) && !(m1%2)) || ((n1%2) && (m.size() > 1) && !(m1%2))) ? "Yes" : "No") << endl; }