#include using namespace std; int N,Z; bool iss[1<<20]; main() { cin>>N>>Z; if(N==1) { cout<<(Z==1?"No":"Yes")<