import java.util.Scanner;

public class Main {
	private static final String YES = "Yes";
	private static final String NO = "No";
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	private static final String YES = "Yes";
	private static final String NO = "No";
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	}

} Main private static final String YES = "Yes"; YES "Yes" private static final String NO = "No"; NO "No" public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	} main {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0; valid (2*x <= y && y <= 4*x) && y%2 == 0 (2*x <= y && y <= 4*x) 2*x <= y 2*x 2 x y y <= 4*x y 4*x 4 x y%2 == 0 y%2 y 2 0 System.out.println(valid ? YES : NO) System.out.println System.out System System.out valid ? YES : NO valid YES NO String[] args args public class Main {
	private static final String YES = "Yes";
	private static final String NO = "No";
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	}

} public class Main {
	private static final String YES = "Yes";
	private static final String NO = "No";
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	}

} Main
import java.util.Scanner;

public class Main {
	private static final String YES = "Yes";
	private static final String NO = "No";
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
		System.out.println(valid ? YES : NO);
	}

}
