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



for i in range(X+1):

    for j in range(X-i+1):

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

            print('Yes')

            exit(0)



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



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

    print('Yes')

    exit(0)



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

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

-for i in range(X + 1): -    for j in range(X - i + 1): -        if 2 * i + 4 * (X - i) == Y: -            print("Yes") -            exit(0) +if 0 <= (4 * X - Y) // 2 <= X and (4 * X - Y) % 2 == 0: +    print("Yes") +    exit(0)