import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int numX = sc.nextInt(); numX sc.nextInt() sc.nextInt sc int numY = sc.nextInt(); numY sc.nextInt() sc.nextInt sc int numC = (2 * numX) - (numY / 2); numC (2 * numX) - (numY / 2) (2 * numX) 2 numX (numY / 2) numY 2 int numT = numX - numC; numT numX - numC numX numC if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		} (numX == numC + numT) && (numY == 2 * numC + 4 * numT) (numX == numC + numT) numX numC + numT numC numT (numY == 2 * numC + 4 * numT) numY 2 * numC + 4 * numT 2 * numC 2 numC 4 * numT 4 numT {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    } (numC < 0) || (numT < 0) (numC < 0) numC 0 (numT < 0) numT 0 {
		        System.out.println("No");
		    } System.out.println("No") System.out.println System.out System System.out "No" if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    } ((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1)) ((numC > 0) && (numC < 1)) (numC > 0) numC 0 (numC < 1) numC 1 ((numT > 0) && (numT < 1)) (numT > 0) numT 0 (numT < 1) numT 1 {
		        System.out.println("No");
		    } System.out.println("No") System.out.println System.out System System.out "No" if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    } (numC >= 0) && (numT >= 0) (numC >= 0) numC 0 (numT >= 0) numT 0 {
		        System.out.println("Yes");
		    } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
		        System.out.println("No");
		    } System.out.println("No") System.out.println System.out System System.out "No" {
		    System.out.println("No");
		} 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){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int numX = sc.nextInt();
		int numY = sc.nextInt();
		
        int numC = (2 * numX) - (numY / 2);
	    int numT = numX - numC;
		
		if ((numX == numC + numT) && (numY == 2 * numC + 4 * numT)) {
		    if ((numC < 0) || (numT < 0)) {
		        System.out.println("No");
		    }else if (((numC > 0) && (numC < 1)) || ((numT > 0) && (numT < 1))) {
		        System.out.println("No");
		    } else if ((numC >= 0) && (numT >= 0)) {
		        System.out.println("Yes");
		    } else {
		        System.out.println("No");
		    }
		} else {
		    System.out.println("No");
		}
		
	}
}