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