N, K = map(int, input().split())

nonvisited = [True] * (N + 1)
nonvisited[1] = False

ok = [1]
for _ in range(K):
    new_ok = []
    for x in ok:
        for tmp in (x + 3, x * 2):
            if tmp <= N and nonvisited[tmp]:
                nonvisited[tmp] = False
                new_ok.append(tmp)
    ok = new_ok
print('NO' if nonvisited[N] else 'YES')