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

f=0

for i in range(x+1):j=x-i;f|=i*2+j*4==y

print(('NYoe s'[f::2]))
x,y=list(map(int,input().split()))

print(('YNeos'[y%2or y>x*4or y<x*2::2]))
x, y = list(map(int, input().split()))
f = 0
for i in range(x + 1):
    j = x - i
    f |= i * 2 + j * 4 == y
print(("NYoe s"[f::2]))

x, y = list(map(int, input().split()))
print(("YNeos"[y % 2 or y > x * 4 or y < x * 2 :: 2]))

-f = 0 -for i in range(x + 1): -    j = x - i -    f |= i * 2 + j * 4 == y -print(("NYoe s"[f::2])) +print(("YNeos"[y % 2 or y > x * 4 or y < x * 2 :: 2]))