import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	} main {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int x = scn.nextInt(); x scn.nextInt() scn.nextInt scn int y = scn.nextInt(); y scn.nextInt() scn.nextInt scn int t = 0; t 0 int c = 0; c 0 String ans = "No"; ans "No" for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        } int i=0; int i=0; i 0 i<=x i x i++ i++ i {
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        } {
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        } int num = i*2 + (x-i)*4; num i*2 + (x-i)*4 i*2 i 2 (x-i)*4 (x-i) x i 4 if(num==y) ans = "Yes"; num==y num y ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		int y = scn.nextInt();
      	int t = 0;
      	int c = 0;
      	String ans = "No";
      	for(int i=0; i<=x; i++){
          int num = i*2 + (x-i)*4;
          if(num==y) ans = "Yes";
        }
      	System.out.println(ans);
	}
}