import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

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

	public static void main(String[] args) {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

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

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

	} main {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner String reString = "Yes"; reString "Yes" if (y % 2 != 0) {
			reString = "No";
		} y % 2 != 0 y % 2 y 2 0 {
			reString = "No";
		} reString = "No" reString "No" if(x * 4 < y) {
			reString = "No";
		} x * 4 < y x * 4 x 4 y {
			reString = "No";
		} reString = "No" reString "No" if(x * 2 > y) {
			reString = "No";
		} x * 2 > y x * 2 x 2 y {
			reString = "No";
		} reString = "No" reString "No" System.out.println(reString) System.out.println System.out System System.out reString String[] args args public class Main {

	public static void main(String[] args) {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

	}} public class Main {

	public static void main(String[] args) {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

	}} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		
		
		

		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		int y = scanner.nextInt();  //ноги
		
		String reString = "Yes";
		
		if (y % 2 != 0) {
			reString = "No";
		}
		
		if(x * 4 < y) {
			reString = "No";
		}
		if(x * 2 > y) {
			reString = "No";
		}
		
		
		System.out.println(reString);

	}}