mod = 1000000007 eps = 10**-9 inf = 10**18 def main(): import sys input = sys.stdin.readline N, K = map(int, input().split()) cnt = [inf] * (N+1) cnt[1] = 0 for i in range(1, N+1): if i + 3 <= N: cnt[i+3] = min(cnt[i+3], cnt[i] + 1) if i * 2 <= N: cnt[i*2] = min(cnt[i*2], cnt[i] + 1) if cnt[N] <= K: print("YES") else: print("NO") if __name__ == '__main__': main()