import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(); int n = sc.nextInt(); int k = sc.nextInt(); int[] dp = new int[n + 1]; Arrays.fill(dp, Integer.MAX_VALUE); dp[n] = 0; for (int i = n; i > 1; i--) { if (dp[i] == Integer.MAX_VALUE) { continue; } if (i % 2 == 0) { dp[i / 2] = Math.min(dp[i / 2], dp[i] + 1); } if (i > 3) { dp[i - 3] = Math.min(dp[i - 3], dp[i] + 1); } } if (dp[1] <= k) { System.out.println("YES"); } else { System.out.println("NO"); } } } class Scanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); public Scanner() throws Exception { } public int nextInt() throws Exception { return Integer.parseInt(next()); } public long nextLong() throws Exception { return Long.parseLong(next()); } public String next() throws Exception { if (!st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } }