N, K = map(int, input().split())
ans = 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO'
print(ans) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K ans = 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO' ans 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO' K <= ((N >> 1) + (N & 1)) K (N >> 1) + (N & 1) N >> 1 N 1 N & 1 N 1 'YES' 'NO' print(ans) print ans ans = 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO' 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO' ans N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
N, K = map(int, input().split())
ans = 'YES' if K <= ((N >> 1) + (N & 1)) else 'NO'
print(ans)