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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

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

        String ans = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        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 = ""; ans "" int tmp1 = y - 2 * x; tmp1 y - 2 * x y 2 * x 2 x int tmp2 = 4 * x - y; tmp2 4 * x - y 4 * x 4 x y if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No"; tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0 tmp2 % 2 == 0 tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0 tmp1 % 2 == 0 tmp1 % 2 tmp1 2 0 x - (tmp1 / 2) >= 0 x - (tmp1 / 2) x (tmp1 / 2) tmp1 2 0 tmp2 % 2 == 0 tmp2 % 2 tmp2 2 0 (x - tmp2 / 2) >= 0 (x - tmp2 / 2) x tmp2 / 2 tmp2 2 0 ans = "Yes" ans "Yes" ans = "No" ans "No" 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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        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 = "";
        int tmp1 = y - 2 * x;
        int tmp2 = 4 * x - y;
        if (tmp1 % 2 == 0 && x - (tmp1 / 2) >= 0 && tmp2 % 2 == 0 && (x - tmp2 / 2) >= 0) ans = "Yes";
        else ans = "No";

        System.out.println(ans);
    }
}