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

if y%2 == 0:

  if x*2 <= y and x*4 >= y:

    print('Yes')

    exit()

print('No')

exit()
import sys

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

 

a = 2 * X

 

if a == Y:

  print('Yes')

  sys.exit()

 

for i in range(X):

  a = a + 2

  if a == Y:

    print('Yes')

    sys.exit()

    

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

import sys

X, Y = list(map(int, input().split()))
a = 2 * X
if a == Y:
    print("Yes")
    sys.exit()
for i in range(X):
    a = a + 2
    if a == Y:
        print("Yes")
        sys.exit()
print("No")

-x, y = list(map(int, input().split())) -if y % 2 == 0: -    if x * 2 <= y and x * 4 >= y: +import sys + +X, Y = list(map(int, input().split())) +a = 2 * X +if a == Y: +    print("Yes") +    sys.exit() +for i in range(X): +    a = a + 2 +    if a == Y: -        exit() +        sys.exit() -exit()