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

if K * 2 - 1 <= N:
    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 * 2 - 1 <= N:
    print("YES")
else:
    print("NO") K * 2 - 1 <= N K * 2 - 1 K * 2 K 2 1 N print("YES") print "YES" print("NO") print "NO" K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] K N, K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] N
N, K = [int(_) for _ in input().split()]

if K * 2 - 1 <= N:
    print("YES")
else:
    print("NO")