import sys

import time

st = time.perf_counter()

# ------------------------------



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

ok = False

for i in range(x + 1):

    if i * 4 + (x - i) * 2 == y:

        ok = True

        break

if ok:

    print('Yes')

else:

    print('No')



# ------------------------------

ed = time.perf_counter()

print('time:', ed-st, file=sys.stderr)

import sys

import time

import math

def inpl():

    return list(map(int, input().split()))

st = time.perf_counter()

# ------------------------------



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

for i in range(X+1):

	if i*4 + (X-i)*2 == Y:

		print('Yes')

		sys.exit()

print('No')



# ------------------------------

ed = time.perf_counter()

print('time:', ed-st, file=sys.stderr)

import sys
import time

st = time.perf_counter()
# ------------------------------
x, y = map(int, input().split())
ok = False
for i in range(x + 1):
    if i * 4 + (x - i) * 2 == y:
        ok = True
        break
if ok:
    print("Yes")
else:
    print("No")
# ------------------------------
ed = time.perf_counter()
print("time:", ed - st, file=sys.stderr)

import sys
import time
import math


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


st = time.perf_counter()
# ------------------------------
X, Y = map(int, input().split())
for i in range(X + 1):
    if i * 4 + (X - i) * 2 == Y:
        print("Yes")
        sys.exit()
print("No")
# ------------------------------
ed = time.perf_counter()
print("time:", ed - st, file=sys.stderr)

+import math + + +def inpl(): +    return list(map(int, input().split())) + -x, y = map(int, input().split()) -ok = False -for i in range(x + 1): -    if i * 4 + (x - i) * 2 == y: -        ok = True -        break -if ok: -    print("Yes") -else: -    print("No") +X, Y = map(int, input().split()) +for i in range(X + 1): +    if i * 4 + (X - i) * 2 == Y: +        print("Yes") +        sys.exit() +print("No")