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

public class Main
{
	public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	}
} import java.io.*; io.* java import java.util.*; util.* java import java.lang.*; lang.* java import java.math.*; math.* java public class Main
{
	public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	}
} Main public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	} main {
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		} Y % 2 == 0 Y % 2 Y 2 0 {
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		} int a = 2*X - (Y/2); a 2*X - (Y/2) 2*X 2 X (Y/2) Y 2 if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No"); Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0 Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0 Math.ceil(a) == Math.floor(a) Math.ceil(a) Math.ceil Math a Math.floor(a) Math.floor Math a a >= 0 a 0 (X-a) >= 0 (X-a) X a 0 out.println("Yes") out.println out "Yes" out.println("No") out.println out "No" {
			out.println("No");
		} out.println("No") out.println out "No" out.flush() out.flush out String args[] args public class Main
{
	public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	}
} public class Main
{
	public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	}
} Main
import java.io.*;
import java.util.*;
import java.lang.*;
import java.math.*;

public class Main
{
	public static void main(String args[]) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);

		int X = sc.nextInt();
		int Y = sc.nextInt();

		if(Y % 2 == 0)
		{
			int a = 2*X - (Y/2);
 
			if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
				out.println("Yes");
			else
				out.println("No");
		}
 
		else
		{
			out.println("No");
		}
		
		out.flush();
	}
}