n, k = [int(item) for item in input().split()]
if (n+1) // 2 >= k:
    print("YES")
else:
    print("NO") int(item) for item in input().split() for item in input().split() item input().split() ().split () input split for item in input().split() int(item) int item n, k = [int(item) for item in input().split()] n [int(item) for item in input().split()] k if (n+1) // 2 >= k:
    print("YES")
else:
    print("NO") (n+1) // 2 >= k (n+1) // 2 n+1 n 1 2 k print("YES") print "YES" print("NO") print "NO" n, k = [int(item) for item in input().split()] [int(item) for item in input().split()] n k = [int(item) for item in input().split()] [int(item) for item in input().split()] k
n, k = [int(item) for item in input().split()]
if (n+1) // 2 >= k:
    print("YES")
else:
    print("NO")