import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	} main {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int count	= sc.nextInt(); count sc.nextInt() sc.nextInt sc int legs	= sc.nextInt(); legs sc.nextInt() sc.nextInt sc int hind	= legs-(count*2); hind legs-(count*2) legs (count*2) count 2 System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No") System.out.println System.out System System.out hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No" hind>=0&&hind%2==0&&hind/2<=count hind>=0&&hind%2==0&&hind/2<=count hind>=0 hind 0 hind%2==0 hind%2 hind 2 0 hind/2<=count hind/2 hind 2 count "Yes" "No" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int count	= sc.nextInt();
		int legs	= sc.nextInt();
		int hind	= legs-(count*2);
		System.out.println(hind>=0&&hind%2==0&&hind/2<=count?"Yes":"No");
	}
}