N, K = [int(_) for _ in input().split()]

if K <= (N+1) // 2:
    print("YES")
else:
    print("NO") int(_) for _ in input().split() for _ in input().split() _ input().split() ().split () input split for _ in input().split() int(_) int _ N, K = [int(_) for _ in input().split()] N [int(_) for _ in input().split()] K if K <= (N+1) // 2:
    print("YES")
else:
    print("NO") K <= (N+1) // 2 K (N+1) // 2 N+1 N 1 2 print("YES") print "YES" print("NO") print "NO" N, K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] N K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] K
N, K = [int(_) for _ in input().split()]

if K <= (N+1) // 2:
    print("YES")
else:
    print("NO")
