import java.util.*;
public class Main{

	
	  public static void main(String[] args)
	  {
	    Scanner sc=new Scanner(System.in);
	    int i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      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 i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  }
	} Main public static void main(String[] args)
	  {
	    Scanner sc=new Scanner(System.in);
	    int i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  } main {
	    Scanner sc=new Scanner(System.in);
	    int i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int i=sc.nextInt(); i sc.nextInt() sc.nextInt sc int j=sc.nextInt(); j sc.nextInt() sc.nextInt sc int flag=0; flag 0 if(j%2!=0)
        {
          System.out.println("No");
          return;
        } j%2!=0 j%2 j 2 0 {
          System.out.println("No");
          return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    } i==1 i 1 {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    } if(j==4||j==2)
            {
	              System.out.print("Yes");
            } j==4||j==2 j==4 j 4 j==2 j 2 {
	              System.out.print("Yes");
            } System.out.print("Yes") System.out.print System.out System System.out "Yes" {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    } for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } int k=1; int k=1; k 1 k<=i k i k++ k++ k {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      } ((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j) ((k*2+(i-k)*4)==j) (k*2+(i-k)*4) k*2 k 2 (i-k)*4 (i-k) i k 4 j ((k*4+(i-k)*2)==j) (k*4+(i-k)*2) k*4 k 4 (i-k)*2 (i-k) i k 2 j {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      } System.out.println("Yes") System.out.println System.out System System.out "Yes" flag=1 flag 1 break; if(flag==0)
	    {
	      System.out.println("No");
	    } flag==0 flag 0 {
	      System.out.println("No");
	    } 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 i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  }
	} public class Main{

	
	  public static void main(String[] args)
	  {
	    Scanner sc=new Scanner(System.in);
	    int i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  }
	} Main
import java.util.*;
public class Main{

	
	  public static void main(String[] args)
	  {
	    Scanner sc=new Scanner(System.in);
	    int i=sc.nextInt();
	    int j=sc.nextInt();
	    int flag=0;
        if(j%2!=0)
        {
          System.out.println("No");
          return;
        }
	    if(i==1)
	    {
	    	if(j==4||j==2)
            {
	              System.out.print("Yes");
            }
	    }
	    else
	    {
	    for(int k=1;k<=i;k++)
	    {
	   
	      if(((k*2+(i-k)*4)==j)||((k*4+(i-k)*2)==j))
	      {
	        System.out.println("Yes");
	        flag=1;
	        break;
	      }  
	    } 
	    if(flag==0)
	    {
	      System.out.println("No");
	    }
	    }
	  }
	}  
