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