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

ans = 'No'

if 4*X < Y:

    print(ans)

else:

    for i in range(1,X+1):

        crane = i

        turtle = X - i

        crane2 = X - i

        turtle2 = i

        if 2*crane + 4*turtle == Y or 2*crane2 + 4*turtle2 == Y:

            ans = 'Yes'

            break

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

ans = 'No'

if 4*X < Y:

    print(ans)

else:

    for i in range(X+1):

        crane = i

        turtle = X - i

        if 2*crane + 4*turtle == Y:

            ans = 'Yes'

            break

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

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

-    for i in range(1, X + 1): +    for i in range(X + 1): -        crane2 = X - i -        turtle2 = i -        if 2 * crane + 4 * turtle == Y or 2 * crane2 + 4 * turtle2 == Y: +        if 2 * crane + 4 * turtle == Y: