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