def LI():return list(map(int,input().split()))

def MI():return list(map(int,open(0).read().split()))

def I():return int(eval(input()))

def yes():print("Yes")

def no():print("No")



from collections import deque, Counter

from heapq import heappop, heappush

INF=float("inf")

# import math

# pi=math.pi



# import numpy as np

x,y=LI()



for a in range(0,x+1):

    b=x-a

    if b>=0 and 2*a+4*b==y:

        yes()

        exit()

no()

        





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

for a in range(0,x+1):

    b=x-a

    if 2*a+4*b==y:

        print("Yes")

        exit()

print("No")
def LI():
    return list(map(int, input().split()))


def MI():
    return list(map(int, open(0).read().split()))


def I():
    return int(eval(input()))


def yes():
    print("Yes")


def no():
    print("No")


from collections import deque, Counter
from heapq import heappop, heappush

INF = float("inf")
# import math
# pi=math.pi
# import numpy as np
x, y = LI()
for a in range(0, x + 1):
    b = x - a
    if b >= 0 and 2 * a + 4 * b == y:
        yes()
        exit()
no()

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

-def LI(): -    return list(map(int, input().split())) - - -def MI(): -    return list(map(int, open(0).read().split())) - - -def I(): -    return int(eval(input())) - - -def yes(): -    print("Yes") - - -def no(): -    print("No") - - -from collections import deque, Counter -from heapq import heappop, heappush - -INF = float("inf") -# import math -# pi=math.pi -# import numpy as np -x, y = LI() +x, y = list(map(int, input().split())) -    if b >= 0 and 2 * a + 4 * b == y: -        yes() +    if 2 * a + 4 * b == y: +        print("Yes") -no() +print("No")