Determine if we can choose K different integers between 1 and N (inclusive) so that no two of them differ by 1.
nk = list(map(int,input().split()))
n=nk[0]
k=nk[1]
if n >= 2*k+1:
    print('YES')
else:
    print('NO')

nk = list(map(int,input().split()))
n=nk[0]
k=nk[1]
if n >= 2*k-1:
    print('YES')
else:
    print('NO') 
