from sys import stdin
N,K = [int(x) for x in stdin.readline().rstrip().split()]
if len(list(range(1,N+1))[0::2]) >= K:
    print("YES")
else:
    print("NO") from sys import stdin int(x) for x in stdin.readline().rstrip().split() for x in stdin.readline().rstrip().split() x stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for x in stdin.readline().rstrip().split() int(x) int x N,K = [int(x) for x in stdin.readline().rstrip().split()] N [int(x) for x in stdin.readline().rstrip().split()] K if len(list(range(1,N+1))[0::2]) >= K:
    print("YES")
else:
    print("NO") len(list(range(1,N+1))[0::2]) >= K len(list(range(1,N+1))[0::2]) len list(range(1,N+1))[0::2] (range(1,N+1)) list range(1,N+1) range 1 N+1 N 1 0::2 0 2 K print("YES") print "YES" print("NO") print "NO" N,K = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] N K = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] K
from sys import stdin
N,K = [int(x) for x in stdin.readline().rstrip().split()]
if len(list(range(1,N+1))[0::2]) >= K:
    print("YES")
else:
    print("NO")