x, y  = map(int,input().split())

if x >= y*2-1:
    print("YES")
else:
    print("NO") x, y  = map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split y if x >= y*2-1:
    print("YES")
else:
    print("NO") x >= y*2-1 x y*2-1 y*2 y 2 1 print("YES") print "YES" print("NO") print "NO" x, y  = map(int,input().split()) map(int,input().split()) x y  = map(int,input().split()) map(int,input().split()) y
x, y  = map(int,input().split())

if x >= y*2-1:
    print("YES")
else:
    print("NO")