import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sr = new Scanner(System.in);
    int X = sr.nextInt();
    int Y = sr.nextInt();
    int XX = X * 2;
    int Z = Y-XX;
    int z = Z/2;
    if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes");
    	
     
  }

} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sr = new Scanner(System.in);
    int X = sr.nextInt();
    int Y = sr.nextInt();
    int XX = X * 2;
    int Z = Y-XX;
    int z = Z/2;
    if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes");
    	
     
  }

} Main public static void main(String[] args){
    Scanner sr = new Scanner(System.in);
    int X = sr.nextInt();
    int Y = sr.nextInt();
    int XX = X * 2;
    int Z = Y-XX;
    int z = Z/2;
    if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes");
    	
     
  } main {
    Scanner sr = new Scanner(System.in);
    int X = sr.nextInt();
    int Y = sr.nextInt();
    int XX = X * 2;
    int Z = Y-XX;
    int z = Z/2;
    if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes");
    	
     
  } Scanner sr = new Scanner(System.in); sr new Scanner(System.in) int X = sr.nextInt(); X sr.nextInt() sr.nextInt sr int Y = sr.nextInt(); Y sr.nextInt() sr.nextInt sr int XX = X * 2; XX X * 2 X 2 int Z = Y-XX; Z Y-XX Y XX int z = Z/2; z Z/2 Z 2 if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes"); XX>Y XX Y System.out.println("No") System.out.println System.out System System.out "No" if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes"); XX==Y XX Y System.out.println("Yes") System.out.println System.out System System.out "Yes" if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes"); Z % 2 != 0 Z % 2 Z 2 0 System.out.println("No") System.out.println System.out System System.out "No" if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes"); z > X z X System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args
import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sr = new Scanner(System.in);
    int X = sr.nextInt();
    int Y = sr.nextInt();
    int XX = X * 2;
    int Z = Y-XX;
    int z = Z/2;
    if (XX>Y)
      System.out.println("No");
    else if (XX==Y)
      System.out.println("Yes");
    else
      if (Z % 2 != 0)
        System.out.println("No");
      else
        if (z > X)
          System.out.println("No");
        else
           System.out.println("Yes");
    	
     
  }

}