import java.util.*;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    } try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            } y % 2 == 0 && 2*x <= y && y <= 4*x y % 2 == 0 && 2*x <= y && y <= 4*x y % 2 == 0 y % 2 y 2 0 2*x <= y 2*x 2 x y y <= 4*x y 4*x 4 x {
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            if (y % 2 == 0 && 2*x <= y && y <= 4*x) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
}
