import java.util.*;

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

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