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

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

    print("Yes")

else:

    print("No")

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

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

  print("Yes")

else:

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

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

-if Y % 2 == 0 and X * 4 >= Y and X * 2 <= Y: +if Y % 2 == 0 and (X * 2 <= Y and X * 4 >= Y):