import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int animal = in.nextInt(); animal in.nextInt() in.nextInt in int foot = in.nextInt(); foot in.nextInt() in.nextInt in double kame = (foot-2*animal)/2; kame (foot-2*animal)/2 (foot-2*animal) foot 2*animal 2 animal 2 double turu = animal - kame; turu animal - kame animal kame int r_kame = (int)kame; r_kame (int)kame int r_turu = (int)turu; r_turu (int)turu if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} r_kame<0||r_turu<0 r_kame<0 r_kame 0 r_turu<0 r_turu 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} 4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal 4*r_kame+2*r_turu==foot 4*r_kame+2*r_turu 4*r_kame 4 r_kame 2*r_turu 2 r_turu foot r_kame+r_turu==animal r_kame+r_turu r_kame r_turu animal {
			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" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner in = new Scanner(System.in);

		int animal = in.nextInt();
		int foot = in.nextInt();

		double kame = (foot-2*animal)/2;
		double turu = animal - kame;


		int r_kame = (int)kame;
		int r_turu = (int)turu;

		if(r_kame<0||r_turu<0) {
			System.out.println("No");
		}else if(4*r_kame+2*r_turu==foot&&r_kame+r_turu==animal) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}


	}

}
