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