import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    } main {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = Integer.parseInt(sc.next()); num Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int sum = Integer.parseInt(sc.next()); sum Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc boolean isYes = false; isYes false for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        } int i = 0; int i = 0; i 0 i <= num i num i++ i++ i {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        } {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        } if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            } sum == (2 * i) + (4 * (num - i)) sum (2 * i) + (4 * (num - i)) (2 * i) 2 i (4 * (num - i)) 4 (num - i) num i {
                System.out.println("Yes");
                isYes = true;
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" isYes = true isYes true if (!isYes) {
            System.out.println("No");
        } !isYes isYes {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.next());
        int sum = Integer.parseInt(sc.next());

        boolean isYes = false;
        for (int i = 0; i <= num; i++) {
            if (sum == (2 * i) + (4 * (num - i))) {
                System.out.println("Yes");
                isYes = true;
            }
        }
        if (!isYes) {
            System.out.println("No");
        }

        sc.close();
    }
}
