#include #define int long long using namespace std; signed main(){ int N,K;cin>>N>>K; if(N==1)return puts("Yes"),0; while(K--){ if(N%2==1||N==4)N-=3; else N/=2; if(N==1)return puts("YES"),0; } puts("NO"); }