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



for x in range(10000):

    y = X-x

    if y < 0:

        continue

    z = x*2+4*y

    if z == Y:

        print('Yes')

        break

else:

    print('No')

A, B = list(map(int, input().split()))



for x in range(101):

    y = A-x

    if y < 0:

        continue

    if 2*x+4*y == B:

        print('Yes')

        break

else:

    print('No')

X, Y = list(map(int, input().split()))
for x in range(10000):
    y = X - x
    if y < 0:
        continue
    z = x * 2 + 4 * y
    if z == Y:
        print("Yes")
        break
else:
    print("No")

A, B = list(map(int, input().split()))
for x in range(101):
    y = A - x
    if y < 0:
        continue
    if 2 * x + 4 * y == B:
        print("Yes")
        break
else:
    print("No")

-X, Y = list(map(int, input().split())) -for x in range(10000): -    y = X - x +A, B = list(map(int, input().split())) +for x in range(101): +    y = A - x -    z = x * 2 + 4 * y -    if z == Y: +    if 2 * x + 4 * y == B: