import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	int x = sc.nextInt();
    int y = sc.nextInt();
    
    boolean flag = true;
    double Kame = (y-2*x)/2;
    int kame = (int)Kame;
    if(Kame!=kame) flag = false;
    if(kame<0) {
      flag = false;
    }
    int turu = x-kame;
    if(turu<0) flag = false;
    if(turu+kame!=x || 2*turu+4*kame!=y) flag = false;
    
    if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	int x = sc.nextInt();
    int y = sc.nextInt();
    
    boolean flag = true;
    double Kame = (y-2*x)/2;
    int kame = (int)Kame;
    if(Kame!=kame) flag = false;
    if(kame<0) {
      flag = false;
    }
    int turu = x-kame;
    if(turu<0) flag = false;
    if(turu+kame!=x || 2*turu+4*kame!=y) flag = false;
    
    if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	int x = sc.nextInt();
    int y = sc.nextInt();
    
    boolean flag = true;
    double Kame = (y-2*x)/2;
    int kame = (int)Kame;
    if(Kame!=kame) flag = false;
    if(kame<0) {
      flag = false;
    }
    int turu = x-kame;
    if(turu<0) flag = false;
    if(turu+kame!=x || 2*turu+4*kame!=y) flag = false;
    
    if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    
	int x = sc.nextInt();
    int y = sc.nextInt();
    
    boolean flag = true;
    double Kame = (y-2*x)/2;
    int kame = (int)Kame;
    if(Kame!=kame) flag = false;
    if(kame<0) {
      flag = false;
    }
    int turu = x-kame;
    if(turu<0) flag = false;
    if(turu+kame!=x || 2*turu+4*kame!=y) flag = false;
    
    if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("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 = true; flag true double Kame = (y-2*x)/2; Kame (y-2*x)/2 (y-2*x) y 2*x 2 x 2 int kame = (int)Kame; kame (int)Kame if(Kame!=kame) flag = false; Kame!=kame Kame kame flag = false flag false if(kame<0) {
      flag = false;
    } kame<0 kame 0 {
      flag = false;
    } flag = false flag false int turu = x-kame; turu x-kame x kame if(turu<0) flag = false; turu<0 turu 0 flag = false flag false if(turu+kame!=x || 2*turu+4*kame!=y) flag = false; turu+kame!=x || 2*turu+4*kame!=y turu+kame!=x turu+kame turu kame x 2*turu+4*kame!=y 2*turu+4*kame 2*turu 2 turu 4*kame 4 kame y flag = false flag false if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    } flag == true flag true {
      System.out.println("Yes");
    } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
      System.out.println("No");
    } 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 sc = new Scanner(System.in);
    
	int x = sc.nextInt();
    int y = sc.nextInt();
    
    boolean flag = true;
    double Kame = (y-2*x)/2;
    int kame = (int)Kame;
    if(Kame!=kame) flag = false;
    if(kame<0) {
      flag = false;
    }
    int turu = x-kame;
    if(turu<0) flag = false;
    if(turu+kame!=x || 2*turu+4*kame!=y) flag = false;
    
    if(flag == true){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
    }
  }
}
