import java.util.*;
public class Main {
    public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    }





    public static void main(String[] args) {
        new Main().solve();
    }
    } import java.util.*; util.* java public class Main {
    public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    }





    public static void main(String[] args) {
        new Main().solve();
    }
    } Main public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    } solve {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int Y = scan.nextInt(); Y scan.nextInt() scan.nextInt scan for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}} int i = 0; int i = 0; i 0 i <= X i X i++ i++ i {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}} {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}} for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}} int j = X; int j = X; j X j >= 0 j 0 j-- j-- j {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}} {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}} if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;} i + j == X && 2 * i + 4 * j == Y i + j == X i + j i j X 2 * i + 4 * j == Y 2 * i + 4 * j 2 * i 2 i 4 * j 4 j Y {
                    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" public static void main(String[] args) {
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args public class Main {
    public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    }





    public static void main(String[] args) {
        new Main().solve();
    }
    } public class Main {
    public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    }





    public static void main(String[] args) {
        new Main().solve();
    }
    } Main
import java.util.*;
public class Main {
    public void solve() {
        Scanner scan = new Scanner(System.in);
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            for (int j = X; j >= 0; j--) {
                if (i + j == X && 2 * i + 4 * j == Y) {
                    System.out.println("Yes");
                    return;}}}
                System.out.println("No");

    }





    public static void main(String[] args) {
        new Main().solve();
    }
    }