X,Y = list(map(int,input().split()))



if 2*X<=Y<=4*X and Y%2==0:

  print("Yes")

else:

  print("No")
X,Y = list(map(int,input().split()))

f = False



for i in range(X+1):

  for j in range(X+1):

    if i+j==X and 2*i+4*j==Y:

      f = True



if f:

  print("Yes")

else:

  print("No")

X, Y = list(map(int, input().split()))
if 2 * X <= Y <= 4 * X and Y % 2 == 0:
    print("Yes")
else:
    print("No")

X, Y = list(map(int, input().split()))
f = False
for i in range(X + 1):
    for j in range(X + 1):
        if i + j == X and 2 * i + 4 * j == Y:
            f = True
if f:
    print("Yes")
else:
    print("No")

-if 2 * X <= Y <= 4 * X and Y % 2 == 0: +f = False +for i in range(X + 1): +    for j in range(X + 1): +        if i + j == X and 2 * i + 4 * j == Y: +            f = True +if f: