import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();

    int t = (y - 2*x)/2;
    int c = x - t;
    
    if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes");
  }
} 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();

    int t = (y - 2*x)/2;
    int c = x - t;
    
    if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes");
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();

    int t = (y - 2*x)/2;
    int c = x - t;
    
    if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes");
  } main {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();

    int t = (y - 2*x)/2;
    int c = x - t;
    
    if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes");
  } 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 t = (y - 2*x)/2; t (y - 2*x)/2 (y - 2*x) y 2*x 2 x 2 int c = x - t; c x - t x t if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes"); t < 0 || c < 0 || y%2 == 1 t < 0 || c < 0 || y%2 == 1 t < 0 t 0 c < 0 c 0 y%2 == 1 y%2 y 2 1 System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();

    int t = (y - 2*x)/2;
    int c = x - t;
    
    if(t < 0 || c < 0 || y%2 == 1)
      System.out.println("No");
    else
      System.out.println("Yes");
  }
}