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

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "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);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "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);
        B solver = new 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);
        B solver = new 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) B solver = new B(); solver new B() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "No");

        }

    } B public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "No");

        } solve {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "No");

        } int x = Integer.parseInt(in.next()); x Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in int y = Integer.parseInt(in.next()); y Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in int turtle = 0; turtle 0 boolean ok = false; ok false for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            } int i = 0; int i = 0; i 0 i < 101 i 101 i++ i++ i {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            } {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            } for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                } int j = 0; int j = 0; j 0 j < 101 j 101 j++ j++ j {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                } {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                } if (i + j == x && i * 2 + j * 4 == y) ok = true; i + j == x && i * 2 + j * 4 == y i + j == x i + j i j x i * 2 + j * 4 == y i * 2 + j * 4 i * 2 i 2 j * 4 j 4 y ok = true ok true out.println(ok ? "Yes" : "No") out.println out ok ? "Yes" : "No" ok "Yes" "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);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "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);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "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);
        B solver = new B();
        solver.solve(1, in, out);
        out.close();
    }

    static class B {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            int x = Integer.parseInt(in.next());
            int y = Integer.parseInt(in.next());
            int turtle = 0;

            boolean ok = false;

            for (int i = 0; i < 101; i++) {
                for (int j = 0; j < 101; j++) {
                    if (i + j == x && i * 2 + j * 4 == y) ok = true;
                }
            }

            out.println(ok ? "Yes" : "No");

        }

    }
}

