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