N,K = map(int,input().split()) dp = [K + 1] * (N+1) dp[1] = 0 for i in range(2,N+1): if i & 1 == 0: if dp[i//2] + 1 < dp[i]: dp[i] = dp[i//2] + 1 if i >= 4: if dp[i-3] + 1 < dp[i]: dp[i] = dp[i-3] + 1 if dp[N] <= K: print('YES') else: print('NO')