import java.io.*;
import java.util.*;

/*
 * To execute Java, please define "static void main" on a class
 * named Solution.
 *
 * If you need more classes, simply define them inline.
 */

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

/*
 * To execute Java, please define "static void main" on a class
 * named Solution.
 *
 * If you need more classes, simply define them inline.
 */

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    
    int X = sc.nextInt();
    int Y = sc.nextInt();
    
    System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?"Yes":"No");
      
  }
}