#include using namespace std; int main() { freopen("tictactoe.in","r",stdin); freopen("tictactoe.out","w",stdout); int x,y; cin>>x>>y; if(x==2&&y==2)cout<<"Yes\n"; else cout<<"No\n"; return 0; }