N,K=map(int,input().split()) DP=[K+1]*(N*2+10) DP[1]=0 for i in range(1,N+1): DP[i+3]=min(DP[i+3],DP[i]+1) DP[i*2]=min(DP[i*2],DP[i]+1) if DP[N]<=K: print('YES') else: print('NO')