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());

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        }
    }
} 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());

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        }
    }
} 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());

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

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

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

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        } 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 String ans = ""; ans "" if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            } y % 2 != 0 y % 2 y 2 0 {
                ans = "No";
            } ans = "No" ans "No" {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            } if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                } (y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) (y / 2) >= x (y / 2) y 2 x x >= ((y / 4)+(y % 4 / 2)) x ((y / 4)+(y % 4 / 2)) (y / 4) y 4 (y % 4 / 2) y % 4 y 4 2 {
                    ans = "Yes";
                } ans = "Yes" ans "Yes" {
                    ans = "No";
                } 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) {
        try (Scanner sc = new Scanner(System.in)) {
            // in
            int x = Integer.parseInt(sc.next());
            int y = Integer.parseInt(sc.next());

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        }
    }
} 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());

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        }
    }
} 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());

            String ans = "";
            if (y % 2 != 0) {
                ans = "No";
            } else {
                if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
                    ans = "Yes";
                } else {
                    ans = "No";
                }
            }
            System.out.println(ans);
        }
    }
}
