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

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

      int x = sc.nextInt();
      int y = sc.nextInt();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "Yes" : "No");
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);

      int x = sc.nextInt();
      int y = sc.nextInt();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "Yes" : "No");
    }
} Main public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);

      int x = sc.nextInt();
      int y = sc.nextInt();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "Yes" : "No");
    } main {
      Scanner sc = new Scanner(System.in);

      int x = sc.nextInt();
      int y = sc.nextInt();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "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 possible = false; possible false for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      } {
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      } int crane = i; crane i int turtle = x - i; turtle x - i x i if(2*crane + 4*turtle == y){
              possible = true;
              break;
          } 2*crane + 4*turtle == y 2*crane + 4*turtle 2*crane 2 crane 4*turtle 4 turtle y {
              possible = true;
              break;
          } possible = true possible true break; System.out.println(possible ? "Yes" : "No") System.out.println System.out System System.out possible ? "Yes" : "No" possible "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();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "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();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "Yes" : "No");
    }
} Main
import java.util.*;
import java.io.*;

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

      int x = sc.nextInt();
      int y = sc.nextInt();
      boolean possible = false;
      for(int i = 0; i <= x; i++){
          int crane = i;
          int turtle = x - i;
          if(2*crane + 4*turtle == y){
              possible = true;
              break;
          }
      }
      System.out.println(possible ? "Yes" : "No");
    }
}