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