data=input().split()

x=int(data[0])

y=int(data[1])

if y%2 != 0:

    print('No')

else:

    if y-2*x >= 0 and (y-2*x)/2 <=x:

        print('Yes')

    else:

        print('No')
data=input().split()

x=int(data[0])

y=int(data[1])



if (y%2 == 0) and (y-2*x >= 0) and ((y-2*x)/2 <=x):

    print('Yes')    

else:

    print('No')
data = input().split()
x = int(data[0])
y = int(data[1])
if y % 2 != 0:
    print("No")
else:
    if y - 2 * x >= 0 and (y - 2 * x) / 2 <= x:
        print("Yes")
    else:
        print("No")

data = input().split()
x = int(data[0])
y = int(data[1])
if (y % 2 == 0) and (y - 2 * x >= 0) and ((y - 2 * x) / 2 <= x):
    print("Yes")
else:
    print("No")

-if y % 2 != 0: +if (y % 2 == 0) and (y - 2 * x >= 0) and ((y - 2 * x) / 2 <= x): +    print("Yes") +else: -else: -    if y - 2 * x >= 0 and (y - 2 * x) / 2 <= x: -        print("Yes") -    else: -        print("No")