import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int ani=scan.nextInt();
    int leg=scan.nextInt();
    if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    }
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int ani=scan.nextInt();
    int leg=scan.nextInt();
    if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    }
  }
} Main public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int ani=scan.nextInt();
    int leg=scan.nextInt();
    if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    }
  } main {
    Scanner scan=new Scanner(System.in);
    int ani=scan.nextInt();
    int leg=scan.nextInt();
    if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    }
  } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int ani=scan.nextInt(); ani scan.nextInt() scan.nextInt scan int leg=scan.nextInt(); leg scan.nextInt() scan.nextInt scan if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    } leg<ani*2 || leg>ani*4 leg<ani*2 leg ani*2 ani 2 leg>ani*4 leg ani*4 ani 4 {
      System.out.println("No");
    } System.out.println("No") System.out.println System.out System System.out "No" if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    } leg%2==0 leg%2 leg 2 0 {
      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.Scanner;

class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int ani=scan.nextInt();
    int leg=scan.nextInt();
    if(leg<ani*2 || leg>ani*4){
      System.out.println("No");
    }else if(leg%2==0){
      System.out.println("Yes");
    }else {
      System.out.println("No");
    }
  }
}
