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

for i in range(X+1):

    if 2*i+4*(X-i)==Y:

        print("Yes")

        break

else:

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

for num in range(X+1):

    if 2*num+4*(X-num)==Y:

        print("Yes")

        break

else:

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

X, Y = list(map(int, input().split()))
for num in range(X + 1):
    if 2 * num + 4 * (X - num) == Y:
        print("Yes")
        break
else:
    print("No")

-for i in range(X + 1): -    if 2 * i + 4 * (X - i) == Y: +for num in range(X + 1): +    if 2 * num + 4 * (X - num) == Y: