import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
      	
      	//2z +4(x-z) = y;
		int zz = (4*x) - y;
      	if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        }
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
      	
      	//2z +4(x-z) = y;
		int zz = (4*x) - y;
      	if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
      	
      	//2z +4(x-z) = y;
		int zz = (4*x) - y;
      	if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
      	
      	//2z +4(x-z) = y;
		int zz = (4*x) - y;
      	if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int zz = (4*x) - y; zz (4*x) - y (4*x) 4 x y if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        } zz == 0 zz 0 {
         System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        } int z = zz /2; z zz /2 zz 2 int r = zz % 2; r zz % 2 zz 2 if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		} r==0 && z>0 r==0 r 0 z>0 z 0 {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            } x >= z x z {
          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" {
          System.out.println("No");
    		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
      	
      	//2z +4(x-z) = y;
		int zz = (4*x) - y;
      	if(zz == 0) {
         System.out.println("Yes");
        }else{
          int z = zz /2;
          int r = zz % 2;
          if (r==0 && z>0) {        
            if(x >= z){
          System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          } else {
          System.out.println("No");
    		}
        }
    }
}