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();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  }
} 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();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  } main {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "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 boolean flag = false; flag false for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    } {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    } if (i * 4 + (x-i) * 2 == y) flag = true; i * 4 + (x-i) * 2 == y i * 4 + (x-i) * 2 i * 4 i 4 (x-i) * 2 (x-i) x i 2 y flag = true flag true System.out.println((flag ? "Yes" : "No")) System.out.println System.out System System.out (flag ? "Yes" : "No") flag "Yes" "No" 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();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  }
} 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();
    // x * 2 -> x * 4
    boolean flag = false;
    for (int i = 0; i <= x; i++) {
      if (i * 4 + (x-i) * 2 == y) flag = true;
    }
    System.out.println((flag ? "Yes" : "No"));
  }
}
