#include <iostream> #include <cmath> using namespace std; bool solve(int a,int b){ return (a==2 and b==4) or a==b; } int main() { int a,b;cin>>a>>b; if(a>b)swap(a,b); cout<<(solve(a,b)?"Yes":"No")<<endl; return 0; }