import java.util.*;
public class Main
{
  public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  }
}
     import java.util.*; util.* java public class Main
{
  public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  }
} Main public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  } main {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  } try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    } catch(Exception e) { return;
                         } Exception e { return;
                         } return; {
    } {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int x x y y t t c; c x=sc.nextInt() x sc.nextInt() sc.nextInt sc y=sc.nextInt() y sc.nextInt() sc.nextInt sc if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      } y%2!=0 y%2 y 2 0 System.out.println("No") System.out.println System.out System System.out "No" {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      } t=y/2-x t y/2-x y/2 y 2 x c=x-t c x-t x 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" String args[] args public class Main
{
  public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  }
} public class Main
{
  public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  }
} Main
import java.util.*;
public class Main
{
  public static void main(String args[])throws Exception
  {
    try {
    Scanner sc=new Scanner(System.in);
    int x,y,t,c;
      x=sc.nextInt();
      y=sc.nextInt();
      if(y%2!=0)
        System.out.println("No");
      else
      {
        t=y/2-x;
        c=x-t;
        if(t>=0 && c>=0)
          System.out.println("Yes");
        else
          System.out.println("No");
      }
    } catch(Exception e) { return;
                         } finally {
    }
  }
}
    
