a = list(map(int,input().split()))
N,K = a[0]-1,a[1]-1
 
if N/2 >= K:
    print("YES")
else:
    print("NO") a = list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split N,K = a[0]-1,a[1]-1 N a[0]-1 a[0] a 0 1 K a[1]-1 a[1] a 1 1 if N/2 >= K:
    print("YES")
else:
    print("NO") N/2 >= K N/2 N 2 K print("YES") print "YES" print("NO") print "NO" N,K = a[0]-1,a[1]-1 a[0]-1 N K = a[0]-1,a[1]-1 a[1]-1 K a = list(map(int,input().split())) list(map(int,input().split())) a
a = list(map(int,input().split()))
N,K = a[0]-1,a[1]-1
 
if N/2 >= K:
    print("YES")
else:
    print("NO")