n,k = input().split()
n = int(n)
k = int(k)
if k * 2 - 1 <= n:
  print('YES')
else:
  print('NO') n,k = input().split() n input().split() ().split () input split k n = int(n) n int(n) int n k = int(k) k int(k) int k if k * 2 - 1 <= n:
  print('YES')
else:
  print('NO') k * 2 - 1 <= n k * 2 - 1 k * 2 k 2 1 n print('YES') print 'YES' print('NO') print 'NO' k = int(k) int(k) k n = int(n) int(n) n n,k = input().split() input().split() n k = input().split() input().split() k
n,k = input().split()
n = int(n)
k = int(k)
if k * 2 - 1 <= n:
  print('YES')
else:
  print('NO')