
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    }
} Main public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    } main {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int x x y y a; a x = input.nextInt() x input.nextInt() input.nextInt input y = input.nextInt() y input.nextInt() input.nextInt input a = (4 * x - y) / 2 a (4 * x - y) / 2 (4 * x - y) 4 * x 4 x y 2 System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No") System.out.println System.out System System.out y % 2 == 0 && a <= x && a >= 0? "Yes" : "No" y % 2 == 0 && a <= x && a >= 0 y % 2 == 0 && a <= x && a >= 0 y % 2 == 0 y % 2 y 2 0 a <= x a x a >= 0 a 0 "Yes" "No" String[] args args public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    }
} public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    }
} Main

import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x, y, a;
        x = input.nextInt();
        y = input.nextInt();
        a = (4 * x - y) / 2;
        System.out.println(y % 2 == 0 && a <= x && a >= 0? "Yes" : "No");
    }
}
