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