import java.util.*;
public class Main{
 
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	}
} import java.util.*; util.* java public class Main{
 
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	} main {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int n=in.nextInt(); n in.nextInt() in.nextInt in int k=in.nextInt(); k in.nextInt() in.nextInt in for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} int i=0; int i=0; i 0 i<=n i n i++ i++ i {
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} {
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			} (k-(i*2))%4==0 (k-(i*2))%4 (k-(i*2)) k (i*2) i 2 4 0 {
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			} int b=(k-(i*2))/4; b (k-(i*2))/4 (k-(i*2)) k (i*2) i 2 4 if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				} (b+i)==n (b+i) b i n {
					System.out.println("Yes");
					System.exit(0);
				} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.exit(0) System.exit System 0 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) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	}
} public class Main{
 
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	}
} Main
import java.util.*;
public class Main{
 
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int n=in.nextInt();
		int k=in.nextInt();
		for(int i=0;i<=n;i++)
		{
			if((k-(i*2))%4==0)
			{
				int b=(k-(i*2))/4;
				if((b+i)==n)
				{
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");
	}
}
