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);
        CraneAndTurtle solver = new CraneAndTurtle();
        solver.solve(1, in, out);
        out.close();
    }

    static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    }
}
 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);
        CraneAndTurtle solver = new CraneAndTurtle();
        solver.solve(1, in, out);
        out.close();
    }

    static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    }
} 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);
        CraneAndTurtle solver = new CraneAndTurtle();
        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);
        CraneAndTurtle solver = new CraneAndTurtle();
        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) CraneAndTurtle solver = new CraneAndTurtle(); solver new CraneAndTurtle() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    } CraneAndTurtle public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        } solve {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        } int x = in.nextInt(); x in.nextInt() in.nextInt in int y = in.nextInt(); y in.nextInt() in.nextInt in if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            } y < 2 * x || 4 * x < y || y % 2 == 1 y < 2 * x || 4 * x < y || y % 2 == 1 y < 2 * x y 2 * x 2 x 4 * x < y 4 * x 4 x y y % 2 == 1 y % 2 y 2 1 {
                out.append("No\n");
                return;
            } out.append("No\n") out.append out "No\n" return; for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            } {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            } if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                } (2 * i + 4 * (x - i)) == y (2 * i + 4 * (x - i)) 2 * i 2 i 4 * (x - i) 4 (x - i) x i y {
                    out.append("Yes\n");
                    return;
                } out.append("Yes\n") out.append out "Yes\n" return; out.append("No\n") out.append out "No\n" 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);
        CraneAndTurtle solver = new CraneAndTurtle();
        solver.solve(1, in, out);
        out.close();
    }

    static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    }
} 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);
        CraneAndTurtle solver = new CraneAndTurtle();
        solver.solve(1, in, out);
        out.close();
    }

    static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    }
} 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);
        CraneAndTurtle solver = new CraneAndTurtle();
        solver.solve(1, in, out);
        out.close();
    }

    static class CraneAndTurtle {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int x = in.nextInt();
            int y = in.nextInt();

            if (y < 2 * x || 4 * x < y || y % 2 == 1) {
                out.append("No\n");
                return;
            }

            for (int i = 0; i <= x; i++) {
                if ((2 * i + 4 * (x - i)) == y) {
                    out.append("Yes\n");
                    return;
                }

            }
            out.append("No\n");
        }

    }
}

