#include using namespace std; #define int long long signed main(){ int A,B; cin>>A>>B; if(A < B) swap(A,B); if(A == 4 && B == 2) cout<<"Yes"<