n, k = map(int, input().split()) seen = set([1]) L = [1] for _ in range(k): NL = [] while L: a = L.pop() b = 2 * a c = a + 3 if b <= n and b not in seen: seen.add(b) NL.append(b) if c <= n and c not in seen: seen.add(c) NL.append(c) L = NL[:] if n in seen: print("YES") else: print("NO")