animals_num, legs_num = list(map(int, input().split()))



answer = "No"



for i in range(animals_num + 1):

  j = animals_num - i

  if j * 4 + i * 2 == legs_num:

    answer = "Yes"

print(answer)

x, y = list(map(int, input().split()))



answer = "No"



for i in range(x + 1):

  j = x - i

  if i * 2 + j * 4 == y:

    answer = "Yes"



print(answer)

animals_num, legs_num = list(map(int, input().split()))
answer = "No"
for i in range(animals_num + 1):
    j = animals_num - i
    if j * 4 + i * 2 == legs_num:
        answer = "Yes"
print(answer)

x, y = list(map(int, input().split()))
answer = "No"
for i in range(x + 1):
    j = x - i
    if i * 2 + j * 4 == y:
        answer = "Yes"
print(answer)

-animals_num, legs_num = list(map(int, input().split())) +x, y = list(map(int, input().split())) -for i in range(animals_num + 1): -    j = animals_num - i -    if j * 4 + i * 2 == legs_num: +for i in range(x + 1): +    j = x - i +    if i * 2 + j * 4 == y: