#include #include using namespace std; using namespace atcoder; using ll=long long; int main() { int a,b; cin>>a>>b; if((a|b)==b)cout<<"Yes"<