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

public class Main{
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	}

} import java.util.*; util.* java import java.io.*; io.* java public class Main{
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	}

} Main public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	} main {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] cmd=br.readLine().split(" "); cmd br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int x=Integer.valueOf(cmd[0]); x Integer.valueOf(cmd[0]) Integer.valueOf Integer cmd[0] cmd 0 int y=Integer.valueOf(cmd[1]); y Integer.valueOf(cmd[1]) Integer.valueOf Integer cmd[1] cmd 1 int a=y-2*x; a y-2*x y 2*x 2 x int b=4*x-y; b 4*x-y 4*x 4 x y if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No"); a>=0 && a%2==0 && b>=0 && b%2==0 b>=0 a>=0 && a%2==0 && b>=0 && b%2==0 a>=0 a 0 a%2==0 a%2 a 2 0 b>=0 b 0 b%2==0 b%2 b 2 0 {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main{
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	}

} public class Main{
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	}

} Main

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

public class Main{
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] cmd=br.readLine().split(" ");
		int x=Integer.valueOf(cmd[0]);
		int y=Integer.valueOf(cmd[1]);
		int a=y-2*x;
		int b=4*x-y;
		if(a>=0 && a%2==0 && b>=0 && b%2==0)
		{
			System.out.println("Yes");
		}
		else
			System.out.println("No");
	}

}
