#!/usr/bin/env python3 import sys def main(): INF = 10 ** 6 N, K = map(int, input().split()) dp = [INF] * (N + 1) dp[1] = 0 for i in range(N + 1): if dp[i] == INF: continue if i * 2 < N + 1: dp[i * 2] = min(dp[i * 2], dp[i] + 1) if i + 3 < N + 1: dp[i + 3] = min(dp[i + 3], dp[i] + 1) print("YES" if dp[N] <= K else "NO") return if __name__ == '__main__': main()