import 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();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
}  import java.util.*; util.* java public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    int x=sc.nextInt();
    int y=sc.nextInt();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      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();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No");
  } main {
    Scanner sc=new Scanner(System.in);
    int x=sc.nextInt();
    int y=sc.nextInt();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      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 int m=0; m 0 int flag=0; flag 0 if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    } y<=x*2||y<=x*4 y<=x*2 y x*2 x 2 y<=x*4 y x*4 x 4 {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    } for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      } int i=1; int i=1; i 1 i<=x i x i++ i++ i {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      } {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      } int j=i*2; j i*2 i 2 m=i*4 m i*4 i 4 int h=y-j; h y-j y j int h1=y-m; h1 y-m y m if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        } (h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i) (h1%2==0&&h1/2==x-i) h1%2==0 h1%2 h1 2 0 h1/2==x-i h1/2 h1 2 x-i x i (h%4==0&&h/4==x-i) h%4==0 h%4 h 4 0 h/4==x-i h/4 h 4 x-i x i {
          flag=1;
          break;
        } flag=1 flag 1 break; if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No"); flag==1 flag 1 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 public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    int x=sc.nextInt();
    int y=sc.nextInt();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    int x=sc.nextInt();
    int y=sc.nextInt();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} Main
import 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();
    int m=0;
    int flag=0;
    if(y<=x*2||y<=x*4)
    {
      for(int i=1;i<=x;i++)
      {
        int j=i*2;
        m=i*4;
        int h=y-j;
        int h1=y-m;
        if((h1%2==0&&h1/2==x-i)||(h%4==0&&h/4==x-i))
        {
          flag=1;
          break;
        }
      }
    }
    if(flag==1)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
} 
