n,k = (int(num) for num in input().split())
if (n+1)//2 >= k:
    print("YES")
else:
    print("NO") int(num) for num in input().split() for num in input().split() num input().split() ().split () input split for num in input().split() int(num) int num n,k = (int(num) for num in input().split()) n (int(num) for num 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" k = (int(num) for num in input().split()) (int(num) for num in input().split()) k n,k = (int(num) for num in input().split()) (int(num) for num in input().split()) n
n,k = (int(num) for num in input().split())
if (n+1)//2 >= k:
    print("YES")
else:
    print("NO")