#include <iostream>
using namespace std;
int main() {
long long m,n;
cin>>m>>n;
if ( (m>=5 && n>=5 && ((m*n)%2==0) )) {
if (m==6 && n==6) {
cout<<"No";// согласно решению задачи
return 0;
}
cout<<"Yes";//согласно общему решению
}
else{
cout<<"No";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglsb25nIGxvbmcgbSxuOwoJY2luPj5tPj5uOwoJaWYgKCAobT49NSAmJiBuPj01ICYmICgobSpuKSUyPT0wKSApKSB7ICAKCQlpZiAobT09NiAmJiBuPT02KSB7CgkJCWNvdXQ8PCJObyI7Ly8g0YHQvtCz0LvQsNGB0L3QviDRgNC10YjQtdC90LjRjiDQt9Cw0LTQsNGH0LgKCQkJcmV0dXJuIDA7CgkJfQoJCWNvdXQ8PCJZZXMiOy8v0YHQvtCz0LvQsNGB0L3QviDQvtCx0YnQtdC80YMg0YDQtdGI0LXQvdC40Y4KCX0KCWVsc2V7IAoJCWNvdXQ8PCJObyI7Cgl9CglyZXR1cm4gMDsKfQ==