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

if y % 2 == 0 and y >= 2 * x and 4 * x >= y:

    print("Yes")

else:

    print("No")

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

print(("Yes" if y % 2 == 0 and y >= 2 * x and 4 * x >= y else "No"))

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

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

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