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

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();

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

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    } 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 for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        } int tu = 0; int tu = 0; tu 0 tu <= x tu x tu++ tu++ tu {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        } {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        } for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            } int ka = 0; int ka = 0; ka 0 ka <= x - tu ka x - tu x tu ka++ ka++ ka {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            } {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            } if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                } y == tu*2 + ka*4 && x == tu + ka y == tu*2 + ka*4 y tu*2 + ka*4 tu*2 tu 2 ka*4 ka 4 x == tu + ka x tu + ka tu ka {
                    System.out.println("Yes");
                    return;
                } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; 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) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
} Main
import 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();

        for (int tu = 0; tu <= x; tu++) {
            for (int ka = 0; ka <= x - tu; ka++) {
                if (y == tu*2 + ka*4 && x == tu + ka) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
}
