import java.util.*;
class Main{
  static Scanner sc = new Scanner(System.in);
  public static void main(String[] args){
    int X=sc.nextInt(),Y=sc.nextInt();
    boolean f=false;
    for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    }
    System.out.println(f?"Yes":"No");
  }
} import java.util.*; util.* java class Main{
  static Scanner sc = new Scanner(System.in);
  public static void main(String[] args){
    int X=sc.nextInt(),Y=sc.nextInt();
    boolean f=false;
    for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    }
    System.out.println(f?"Yes":"No");
  }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args){
    int X=sc.nextInt(),Y=sc.nextInt();
    boolean f=false;
    for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    }
    System.out.println(f?"Yes":"No");
  } main {
    int X=sc.nextInt(),Y=sc.nextInt();
    boolean f=false;
    for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    }
    System.out.println(f?"Yes":"No");
  } int X=sc.nextInt() X sc.nextInt() sc.nextInt sc Y=sc.nextInt(); Y sc.nextInt() sc.nextInt sc boolean f=false; f false for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    } int y=0; int y=0; y 0 y<=X y X y++ y++ y {
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    } {
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    } if(2*(X+y)==Y){
        f=true;
        break;
      } 2*(X+y)==Y 2*(X+y) 2 (X+y) X y Y {
        f=true;
        break;
      } f=true f true break; System.out.println(f?"Yes":"No") System.out.println System.out System System.out f?"Yes":"No" f "Yes" "No" String[] args args
import java.util.*;
class Main{
  static Scanner sc = new Scanner(System.in);
  public static void main(String[] args){
    int X=sc.nextInt(),Y=sc.nextInt();
    boolean f=false;
    for(int y=0;y<=X;y++){
      if(2*(X+y)==Y){
        f=true;
        break;
      }
    }
    System.out.println(f?"Yes":"No");
  }
}