import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	}
} Main public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	} main {
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int X = stdIn.nextInt(); X stdIn.nextInt() stdIn.nextInt stdIn int Y = stdIn.nextInt(); Y stdIn.nextInt() stdIn.nextInt stdIn int b = 0; b 0 String ans = "No"; ans "No" for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		} int a = 0; int a = 0; a 0 a < X+1 a X+1 X 1 a++ a++ a {
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		} {
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		} b = X - a b X - a X a if(2 * a + 4 * b == Y){
				ans = "Yes";
			} 2 * a + 4 * b == Y 2 * a + 4 * b 2 * a 2 a 4 * b 4 b Y {
				ans = "Yes";
			} ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans stdIn.close() stdIn.close stdIn String[] args args public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	}
} public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int X = stdIn.nextInt();
		int Y = stdIn.nextInt();
		int b = 0;
		String ans = "No";
		for(int a = 0; a < X+1; a++){
			b = X - a;
			if(2 * a + 4 * b == Y){
				ans = "Yes";
			}
		}
		System.out.println(ans);
		stdIn.close();
	}
}