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