m,n = map(int,input().split())
if int((m-1) / 2) >= n-1:
    print("YES")
else:
    print("NO") m,n = map(int,input().split()) m map(int,input().split()) map int input().split() ().split () input split n if int((m-1) / 2) >= n-1:
    print("YES")
else:
    print("NO") int((m-1) / 2) >= n-1 int((m-1) / 2) int (m-1) / 2 m-1 m 1 2 n-1 n 1 print("YES") print "YES" print("NO") print "NO" m,n = map(int,input().split()) map(int,input().split()) m n = map(int,input().split()) map(int,input().split()) n
m,n = map(int,input().split())
if int((m-1) / 2) >= n-1:
    print("YES")
else:
    print("NO")
