/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

        int X = Integer.parseInt(st.nextToken());
        int Y = Integer.parseInt(st.nextToken());

        int y = (Y-2*X)/2;
        int x = X-y;
        if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes");

    }




}
 import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

        int X = Integer.parseInt(st.nextToken());
        int Y = Integer.parseInt(st.nextToken());

        int y = (Y-2*X)/2;
        int x = X-y;
        if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes");

    }




} Main public static void main (String[] args) throws java.lang.Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

        int X = Integer.parseInt(st.nextToken());
        int Y = Integer.parseInt(st.nextToken());

        int y = (Y-2*X)/2;
        int x = X-y;
        if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes");

    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

        int X = Integer.parseInt(st.nextToken());
        int Y = Integer.parseInt(st.nextToken());

        int y = (Y-2*X)/2;
        int x = X-y;
        if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes");

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int X = Integer.parseInt(st.nextToken()); X Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int Y = Integer.parseInt(st.nextToken()); Y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int y = (Y-2*X)/2; y (Y-2*X)/2 (Y-2*X) Y 2*X 2 X 2 int x = X-y; x X-y X y if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes"); y<0 || x<0 || (Y-2*X)%2!=0 y<0 || x<0 || (Y-2*X)%2!=0 y<0 y 0 x<0 x 0 (Y-2*X)%2!=0 (Y-2*X)%2 (Y-2*X) Y 2*X 2 X 2 0 System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args
/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

        int X = Integer.parseInt(st.nextToken());
        int Y = Integer.parseInt(st.nextToken());

        int y = (Y-2*X)/2;
        int x = X-y;
        if(y<0 || x<0 || (Y-2*X)%2!=0)
            System.out.println("No");
        else
            System.out.println("Yes");

    }




}

