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



for i in range(X + 1):

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

        print('Yes')

        exit()

print('No')

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



for i in range(X + 1):

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

        print('Yes')

        break

else:

    print('No')

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

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

-        exit() -print("No") +        break +else: +    print("No")