import java.util.*;
import java.lang.Integer; 

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
} import java.util.*; util.* java import java.lang.Integer; Integer java.lang public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double crane = -(y/2) + 2*x; crane -(y/2) + 2*x -(y/2) (y/2) y 2 2*x 2 x double turtle = x - crane; turtle x - crane x crane if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    } turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 turtle % 1 != 0 turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 turtle < 0 turtle 0 crane < 0 crane 0 turtle % 1 != 0 turtle % 1 turtle 1 0 crane % 1 != 0 crane % 1 crane 1 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);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 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);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
} Main
import java.util.*;
import java.lang.Integer; 

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double x = sc.nextInt(); // 頭数
    double y = sc.nextInt(); // 足の数
    double crane = -(y/2) + 2*x;
    double turtle = x - crane;
    if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
}