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