import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  } main {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  } 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 String ans="No"; ans "No" for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    } int i=0,j=x; int i=0 i 0 j=x; j x i<=x&&j>=0&&(i+j)==x i<=x&&j>=0&&(i+j)==x i<=x i x j>=0 j 0 (i+j)==x (i+j) i j x i++,j-- i++ i j-- j {
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    } {
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    } if(i*4+j*2==y){
        ans="Yes";
        break;
      } i*4+j*2==y i*4+j*2 i*4 i 4 j*2 j 2 y {
        ans="Yes";
        break;
      } ans="Yes" ans "Yes" break; System.out.println(ans) System.out.println System.out System System.out ans System.out.flush() System.out.flush System.out System System.out sc.close() sc.close sc String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int x=sc.nextInt();
    int y=sc.nextInt();
    String ans="No";
    for(int i=0,j=x;i<=x&&j>=0&&(i+j)==x; i++,j--){
      if(i*4+j*2==y){
        ans="Yes";
        break;
      }
    }
    System.out.println(ans);
    System.out.flush();
    sc.close();
  }
}
