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

a = 0
ans = "No"

for a in range(0,X+1):
	if (a * 2)+((X-a) * 4)==Y:
		ans = "Yes"
print(ans)
dbfcc6720ae27498b40509749ccfac9e275df077
<mask token>

<mask token>
for a in range(0, X + 1):
    if a * 2 + (X - a) * 4 == Y:
        ans = 'Yes'
print(ans)

X, Y = map(int, input().split())
a = 0
ans = 'No'
for a in range(0, X + 1):
    if a * 2 + (X - a) * 4 == Y:
        ans = 'Yes'
print(ans)

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

a = 0
ans = "No"

for a in range(0,X+1):
	if (a * 2)+((X-a) * 4)==Y:
		ans = "Yes"
print(ans)