@staticmethod
def b():
    (x, y) = map(int, sys.stdin.readline().split())
    print(('Yes' if (((2 * x) <= y <= (4 * x)) and ((y % 2) == 0)) else 'No'))
@staticmethod
def b():
    (x, y) = map(int, sys.stdin.readline().split())
    print(('Yes' if (((2 * x) <= y <= (4 * x)) and ((y % 2) == 0)) else 'No'))