import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   }
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   }
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   } main {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int Y = scan.nextInt(); Y scan.nextInt() scan.nextInt scan Boolean ans = false; ans false for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      } int i=0; int i=0; i 0 i<=X i X i++ i++ i {
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      } {
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      } if(Y == (2*i) + (4*(X-i)))
          ans = true; Y == (2*i) + (4*(X-i)) Y (2*i) + (4*(X-i)) (2*i) 2 i (4*(X-i)) 4 (X-i) X i ans = true ans true if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No"); ans == true ans true 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 scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   }
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   }
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
      int X = scan.nextInt();
      int Y = scan.nextInt();
      Boolean ans = false;
      
      for(int i=0; i<=X; i++){
        if(Y == (2*i) + (4*(X-i)))
          ans = true;
      }
      if(ans == true)
        System.out.println("Yes");
      else
        System.out.println("No");
   }
}