import java.util.Scanner;
public class Main {
	 public static void main(String args[]){
	Scanner scanner = new Scanner(System.in);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 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);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 }
} Main public static void main(String args[]){
	Scanner scanner = new Scanner(System.in);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 } main {
	Scanner scanner = new Scanner(System.in);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n=0; n 0 int m=0; m 0 int bird=2; bird 2 int tirtle=4; tirtle 4 int sum=scanner.nextInt(); sum scanner.nextInt() scanner.nextInt scanner int legs=scanner.nextInt(); legs scanner.nextInt() scanner.nextInt scanner for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 } int i=0; int i=0; i 0 i<=sum i sum i++ i++ i {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 } {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 } n=bird*i n bird*i bird i m=tirtle*(sum-i) m tirtle*(sum-i) tirtle (sum-i) sum i if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 } n+m==legs n+m n m legs {
			 System.out.println("Yes");
			 break;
		 } System.out.println("Yes") System.out.println System.out System System.out "Yes" break; if(i==sum) {
			 System.out.println("No");
		 } i==sum i sum {
			 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);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 }
} public class Main {
	 public static void main(String args[]){
	Scanner scanner = new Scanner(System.in);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 }
} Main
import java.util.Scanner;
public class Main {
	 public static void main(String args[]){
	Scanner scanner = new Scanner(System.in);

	int n=0;
	int m=0;
	 int bird=2;
	 int tirtle=4;
	 int sum=scanner.nextInt();
	 int legs=scanner.nextInt();

	 for(int i=0;i<=sum;i++) {
		 n=bird*i;
		 m=tirtle*(sum-i);
		 if(n+m==legs) {
			 System.out.println("Yes");
			 break;
		 }
		 if(i==sum) {
			 System.out.println("No");
		 }
	 }
	 }
}