import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) ABC170_b solver = new ABC170_b(); solver new ABC170_b() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    } ABC170_b public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        } solve {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        } int X = in.nextInt(); X in.nextInt() in.nextInt in int Y = in.nextInt(); Y in.nextInt() in.nextInt in if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            } (Y % 2) == 0 (Y % 2) Y 2 0 {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                } Y / 2 == X Y / 2 Y 2 X {
                    out.println("Yes");
                    return;
                } out.println("Yes") out.println out "Yes" return; int four = 0; four 0 for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                } int i = 1; int i = 1; i 1 i <= X i X i++ i++ i {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                } {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                } four = i * 4 four i * 4 i 4 if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    } ((Y - four) / 2) == (X - i) ((Y - four) / 2) (Y - four) Y four 2 (X - i) X i {
                        out.println("Yes");
                        return;
                    } out.println("Yes") out.println out "Yes" return; out.println("No") out.println out "No" {
                out.println("No");
            } out.println("No") out.println out "No" int testNumber testNumber Scanner in in PrintWriter out out public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        ABC170_b solver = new ABC170_b();
        solver.solve(1, in, out);
        out.close();
    }

    static class ABC170_b {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int X = in.nextInt();
            int Y = in.nextInt();
            if ((Y % 2) == 0) {
                if (Y / 2 == X) {
                    out.println("Yes");
                    return;
                }
                int four = 0;
                for (int i = 1; i <= X; i++) {
                    four = i * 4;
                    if (((Y - four) / 2) == (X - i)) {
                        out.println("Yes");
                        return;
                    }
                }
                out.println("No");
            } else {
                out.println("No");
            }


        }

    }
}

