import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			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) {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	}

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

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	} main {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] tmp = scanner.nextLine().split(" "); tmp scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " int bio = Integer.parseInt(tmp[0]); bio Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 int leg = Integer.parseInt(tmp[1]); leg Integer.parseInt(tmp[1]) Integer.parseInt Integer tmp[1] tmp 1 double diff = leg - (2.0 * bio); diff leg - (2.0 * bio) leg (2.0 * bio) 2.0 bio double Knum = diff / 2.0; Knum diff / 2.0 diff 2.0 double Tnum = bio - Knum; Tnum bio - Knum bio Knum int bioSum = (int) (Knum + Tnum); bioSum (int) (Knum + Tnum) Knum Tnum int legSum = (int) (Knum * 4 + Tnum * 2); legSum (int) (Knum * 4 + Tnum * 2) Knum * 4 Knum 4 Tnum * 2 Tnum 2 if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		} Knum < 0 || Tnum < 0 Knum < 0 Knum 0 Tnum < 0 Tnum 0 {

			System.out.println("No");

		} System.out.println("No") System.out.println System.out System System.out "No" if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		} leg % 2 != 0 leg % 2 leg 2 0 {

			System.out.println("No");

		} System.out.println("No") System.out.println System.out System System.out "No" if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		} bioSum == bio && legSum == leg bioSum == bio bioSum bio legSum == leg legSum leg {

			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) {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	}

} public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		String[] tmp = scanner.nextLine().split(" ");

		int bio = Integer.parseInt(tmp[0]);
		int leg = Integer.parseInt(tmp[1]);

		double diff = leg - (2.0 * bio);
		double Knum = diff / 2.0;
		double Tnum = bio - Knum;

		int bioSum = (int) (Knum + Tnum);
		int legSum = (int) (Knum * 4 + Tnum * 2);

		if(Knum < 0 || Tnum < 0) {

			System.out.println("No");

		}else if(leg % 2 != 0) {

			System.out.println("No");

		}else if(bioSum == bio && legSum == leg) {

			System.out.println("Yes");

		}else {

			System.out.println("No");

		}


	}

}