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 result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    }
} 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 result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        String result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        String result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    } 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 result = "No"; result "No" for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        } {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        } int j = x - i; j x - i x i if (2 * i + 4 * j == y) result = "Yes"; 2 * i + 4 * j == y 2 * i + 4 * j 2 * i 2 i 4 * j 4 j y result = "Yes" result "Yes" System.out.println(result) System.out.println System.out System System.out result 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 result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        String result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    }
} 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 result = "No";

        for (int i = 0; i <= x; i++) {
            int j = x - i;
            if (2 * i + 4 * j == y) result = "Yes";
        }
        System.out.println(result);
    }
}