#coding:utf-8

I=raw_input()
n,k=map(int, I.split(" "))

def f(n):
    if n<3:return 0
    if n==3:return 2
    if n%2==0:return f(n-1)
    return f(n-1)+1

if f(n)>=k or k==1:
    print("YES")
else:
    print("NO") I=raw_input() I raw_input() raw_input n,k=map(int, I.split(" ")) n map(int, I.split(" ")) map int I.split(" ") I.split I split " " k def f(n):
    if n<3:return 0
    if n==3:return 2
    if n%2==0:return f(n-1)
    return f(n-1)+1 f if n<3:return 0
     n<3 n 3 if n==3:return 2
     n==3 n 3 if n%2==0:return f(n-1)
     n%2==0 n%2 n 2 0 return f(n-1)+1 f(n-1)+1 f(n-1) f n-1 n 1 1 n n if f(n)>=k or k==1:
    print("YES")
else:
    print("NO") f(n)>=k or k==1 f(n)>=k f(n) f n k k==1 k 1 print("YES") print "YES" print("NO") print "NO" I=raw_input() raw_input() I def f(n):
    if n<3:return 0
    if n==3:return 2
    if n%2==0:return f(n-1)
    return f(n-1)+1 def f(n):
    if n<3:return 0
    if n==3:return 2
    if n%2==0:return f(n-1)
    return f(n-1)+1 f k=map(int, I.split(" ")) map(int, I.split(" ")) k n,k=map(int, I.split(" ")) map(int, I.split(" ")) n
#coding:utf-8

I=raw_input()
n,k=map(int, I.split(" "))

def f(n):
    if n<3:return 0
    if n==3:return 2
    if n%2==0:return f(n-1)
    return f(n-1)+1

if f(n)>=k or k==1:
    print("YES")
else:
    print("NO")