#!/usr/bin/env python3

# Generated by https://github.com/kyuridenamida/atcoder-tools

from typing import *

import itertools

import math

import sys



INF = float('inf')

YES = "Yes"  # type: str

NO = "No"  # type: str





def solve(X: int, Y: int):

    return [NO, YES][2*X <= Y <= 4*X and Y % 2 == 0]





def main():



    sys.setrecursionlimit(10 ** 6)



    def iterate_tokens():

        for line in sys.stdin:

            for word in line.split():

                yield word

    tokens = iterate_tokens()

    X = int(next(tokens))  # type: int

    Y = int(next(tokens))  # type: int

    print((solve(X, Y)))





if __name__ == '__main__':

    main()

#!/usr/bin/env python3

# Generated by https://github.com/kyuridenamida/atcoder-tools

from typing import *

import itertools

import math

import sys



INF = float('inf')

YES = "Yes"  # type: str

NO = "No"  # type: str





def solve(X: int, Y: int):

    return [YES, NO][not (2*X <= Y <= 4*X and Y % 2 == 0)]





def main():



    sys.setrecursionlimit(10 ** 6)



    def iterate_tokens():

        for line in sys.stdin:

            for word in line.split():

                yield word

    tokens = iterate_tokens()

    X = int(next(tokens))  # type: int

    Y = int(next(tokens))  # type: int

    print((solve(X, Y)))





if __name__ == '__main__':

    main()

#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import itertools
import math
import sys

INF = float("inf")
YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(X: int, Y: int):
    return [NO, YES][2 * X <= Y <= 4 * X and Y % 2 == 0]


def main():
    sys.setrecursionlimit(10**6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    Y = int(next(tokens))  # type: int
    print((solve(X, Y)))


if __name__ == "__main__":
    main()

#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import itertools
import math
import sys

INF = float("inf")
YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(X: int, Y: int):
    return [YES, NO][not (2 * X <= Y <= 4 * X and Y % 2 == 0)]


def main():
    sys.setrecursionlimit(10**6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    Y = int(next(tokens))  # type: int
    print((solve(X, Y)))


if __name__ == "__main__":
    main()

-    return [NO, YES][2 * X <= Y <= 4 * X and Y % 2 == 0] +    return [YES, NO][not (2 * X <= Y <= 4 * X and Y % 2 == 0)]