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

        for (int bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
} 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();

        for (int bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    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 bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    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 bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    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 bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        } int bird = 0; int bird = 0; bird 0 bird < X + 1 bird X + 1 X 1 bird++ bird++ bird {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        } {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        } for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            } int turtle = 0; int turtle = 0; turtle 0 turtle < X + 1 turtle X + 1 X 1 turtle++ turtle++ turtle {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            } {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            } if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                } X == bird + turtle && Y == 2 * bird + 4 * turtle X == bird + turtle X bird + turtle bird turtle Y == 2 * bird + 4 * turtle Y 2 * bird + 4 * turtle 2 * bird 2 bird 4 * turtle 4 turtle {
                    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 bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    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 bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
} 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();

        for (int bird = 0; bird < X + 1; bird++) {
            for (int turtle = 0; turtle < X + 1; turtle++) {
                if (X == bird + turtle && Y == 2 * bird + 4 * turtle) {
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No");
    }
}