import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	}

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

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	}

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

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	} main {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) int a[] = new int[2]; a new int[2] 2 for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt(); int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i a[i] = input.nextInt(); a[i] = input.nextInt() a[i] a i input.nextInt() input.nextInt input if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		} !(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0) (a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0) a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0 a[1] >= 2 * a[0] a[1] a 1 2 * a[0] 2 a[0] a 0 a[1] <= 4 * a[0] a[1] a 1 4 * a[0] 4 a[0] a 0 a[1]%2==0 a[1]%2 a[1] a 1 2 0 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; int crane = ((4 * a[0]) - a[1]) / 2; crane ((4 * a[0]) - a[1]) / 2 ((4 * a[0]) - a[1]) (4 * a[0]) 4 a[0] a 0 a[1] a 1 2 int turtle = (a[1] - (2 * a[0])) / 2; turtle (a[1] - (2 * a[0])) / 2 (a[1] - (2 * a[0])) a[1] a 1 (2 * a[0]) 2 a[0] a 0 2 if (crane + turtle == a[0])
			System.out.println("Yes"); crane + turtle == a[0] crane + turtle crane turtle a[0] a 0 System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	}

} public class Main {

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);

		int a[] = new int[2];

		for (int i = 0; i < a.length; i++)
			a[i] = input.nextInt();

		if (!(a[1] >= 2 * a[0] && a[1] <= 4 * a[0] && a[1]%2==0)) {
			System.out.println("No");
			return;
		}
		int crane = ((4 * a[0]) - a[1]) / 2;
		int turtle = (a[1] - (2 * a[0])) / 2;
		if (crane + turtle == a[0])
			System.out.println("Yes");
	}

}
