import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	} main {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		} !(x==0&&y==0) (x==0&&y==0) x==0 x 0 y==0 y 0 {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		} int judge = 0; judge 0 for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			} int i=0; int i=0; i 0 i<=x i x i++ i++ i {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			} {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			} if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				} 4*i+2*(x-i)==y 4*i+2*(x-i) 4*i 4 i 2*(x-i) 2 (x-i) x i y {
					judge = 1;
					break;
				} judge = 1 judge 1 break; if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			} judge==1 judge 1 {
				System.out.print("Yes");
			} System.out.print("Yes") System.out.print System.out System System.out "Yes" {
				System.out.print("No");
			} System.out.print("No") System.out.print System.out System System.out "No" {
			System.out.print("Yes");
		} System.out.print("Yes") System.out.print System.out System System.out "Yes" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		if(!(x==0&&y==0)) {
			int judge = 0;
			for(int i=0;i<=x;i++) {
				if(4*i+2*(x-i)==y) {
					judge = 1;
					break;
				}
			}
			if(judge==1) {
				System.out.print("Yes");
			}else {
				System.out.print("No");
			}
			
		}
		else {
			System.out.print("Yes");
		}
		
	}

}