import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc boolean ans=false; ans false if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }} b%2!=0 b%2 b 2 0 {
        System.out.println("No");
                 } System.out.println("No") System.out.println System.out System System.out "No" {
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }} for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      } int i=0; int i=0; i 0 i<=a i a i++ i++ i {
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      } {
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      } if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      } (2*i)+(4*(a-i))==b (2*i)+(4*(a-i)) (2*i) 2 i (4*(a-i)) 4 (a-i) a i b {
        ans=true;
        break;
      } ans=true ans true break; if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      } ans {
      System.out.println("Yes");
      } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
      System.out.println("No");
      } 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 sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		boolean ans=false;
      if(b%2!=0){
        System.out.println("No");
                 }else{
      for(int i=0; i<=a; i++){
      if((2*i)+(4*(a-i))==b){
        ans=true;
        break;
      }
      }
      if(ans){
      System.out.println("Yes");
      }else{
      System.out.println("No");
      }}
	}
}