import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	} main {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc int k = n; k n int t = 0; t 0 while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		} true {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		} int ans = 4*k+2*t; ans 4*k+2*t 4*k 4 k 2*t 2 t if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			} ans == m ans m {
				System.out.println("Yes");
				return;
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; {
				k--;
				t++;
			} k-- k t++ t if(k == -1) {
				System.out.println("No");
				return;
			} k == -1 k -1 1 {
				System.out.println("No");
				return;
			} System.out.println("No") System.out.println System.out System System.out "No" return; String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	}
} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
	    int n = sc.nextInt();
		int m = sc.nextInt();
		
		int k = n;
		int t = 0;
		
		while(true) {
			int ans = 4*k+2*t;
			if(ans == m) {
				System.out.println("Yes");
				return;
			} else {
				k--;
				t++;
			}
			
			if(k == -1) {
				System.out.println("No");
				return;
			}
		}

		//String s = sc.next();
		//long n = sc.nextLong();
		//double n = sc.nextDouble();
		
		//for(int i = 0; i < ; i++)

		//System.out.println("Yes");
		//System.out.println("No");
		

	}
}
