import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}
 import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } main {
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) Integer count = scan.nextInt(); count scan.nextInt() scan.nextInt scan Integer legs = scan.nextInt(); legs scan.nextInt() scan.nextInt scan int turu; turu int kame; kame kame = (legs-(count*2))/2 kame (legs-(count*2))/2 (legs-(count*2)) legs (count*2) count 2 2 turu = count-kame turu count-kame count kame int total = 2*turu + 4*kame; total 2*turu + 4*kame 2*turu 2 turu 4*kame 4 kame if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    } turu>=0&&kame>=0&&total==legs turu>=0&&kame>=0&&total==legs turu>=0 turu 0 kame>=0 kame 0 total==legs total legs {
      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 scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
} public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
} Main
import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    Integer count = scan.nextInt();
    Integer legs = scan.nextInt();
    
    int turu;
    int kame;
    kame = (legs-(count*2))/2;
    turu = count-kame;
    int total = 2*turu + 4*kame;
        
    if(turu>=0&&kame>=0&&total==legs){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}

