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

for i in range(0, 101):

    for j in range(0, 101):

        if i + j == x and i*2 + j * 4 == y:

            print('Yes')

            exit()

print('No')

# print('Yes' if y%2 == 0 and x >= y//2 and  y // 4 - (y%4) //2 <= x else 'No')

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

print(('Yes' if y%2 == 0 and x <= y/2 and  y / 4 <= x else 'No'))

x, y = list(map(int, input().split()))
for i in range(0, 101):
    for j in range(0, 101):
        if i + j == x and i * 2 + j * 4 == y:
            print("Yes")
            exit()
print("No")
# print('Yes' if y%2 == 0 and x >= y//2 and  y // 4 - (y%4) //2 <= x else 'No')

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

-for i in range(0, 101): -    for j in range(0, 101): -        if i + j == x and i * 2 + j * 4 == y: -            print("Yes") -            exit() -print("No") -# print('Yes' if y%2 == 0 and x >= y//2 and  y // 4 - (y%4) //2 <= x else 'No') +print(("Yes" if y % 2 == 0 and x <= y / 2 and y / 4 <= x else "No"))