import java.util.*;
import java.io.*;
import java.lang.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    }
} import java.util.*; util.* java import java.io.*; io.* java import java.lang.*; lang.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc String ans = "No"; ans "No" for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        } int i = 0; int i = 0; i 0 i<(a+1) i (a+1) a 1 i++ i++ i {
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        } {
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        } for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            } int j = 0; int j = 0; j 0 j<(a+1) j (a+1) a 1 j++ j++ j {
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            } {
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            } if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                } (i+j) == a (i+j) i j a {
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                } if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    } (i*2)+(j*4) == l (i*2)+(j*4) (i*2) i 2 (j*4) j 4 l {
                        ans = "Yes";
                    } 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 a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    }
} Main
import java.util.*;
import java.io.*;
import java.lang.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int l = sc.nextInt();

        String ans = "No";

        for (int i = 0; i<(a+1); i++){
            for (int j = 0; j<(a+1); j++){
                if ((i+j) == a){
                    if ( (i*2)+(j*4) == l ){
                        ans = "Yes";
                    }
                }
            }
        }

        System.out.println(ans);
    }
}