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 2*K -1 <= N:
  print('Yes')
else:
  print('No')
(N,K) = map(int, input().split())
if 2*K -1 <= N:
  print('YES')
else:
  print('NO')