x, y = list(map(int, input().split()))



for i in range(x + 1):

  if 2 * i + 4 * (x - i) == y:

    print('Yes')

    exit()



print('No')

x, y = list(map(int, input().split()))



a2 = 4 * x - y

if a2 % 2 == 0 and 0 <= a2 // 2 <= x:

  print('Yes')

else:

  print('No')

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

x, y = list(map(int, input().split()))
a2 = 4 * x - y
if a2 % 2 == 0 and 0 <= a2 // 2 <= x:
    print("Yes")
else:
    print("No")

-for i in range(x + 1): -    if 2 * i + 4 * (x - i) == y: -        print("Yes") -        exit() -print("No") +a2 = 4 * x - y +if a2 % 2 == 0 and 0 <= a2 // 2 <= x: +    print("Yes") +else: +    print("No")