N, K = map(int, input().split())
res = "NO"
if (N + 1) / 2 >= K:
  res = "YES"
print(res) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K res = "NO" res "NO" if (N + 1) / 2 >= K:
  res = "YES" (N + 1) / 2 >= K (N + 1) / 2 N + 1 N 1 2 K res = "YES" res "YES" print(res) print res N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K res = "NO" "NO" res res = "YES" "YES" res
N, K = map(int, input().split())
res = "NO"
if (N + 1) / 2 >= K:
  res = "YES"
print(res)