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