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