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