import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    } main {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int X = scanner.nextInt(); X scanner.nextInt() scanner.nextInt scanner int Y = scanner.nextInt(); Y scanner.nextInt() scanner.nextInt scanner String ans = "No"; ans "No" for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        } int a = 0; int a = 0; a 0 a < X+1 a X+1 X 1 a++ a++ a {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        } {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        } int b = X - a; b X - a X a if (2*a + 4*b == Y) {
                ans = "Yes";
            } 2*a + 4*b == Y 2*a + 4*b 2*a 2 a 4*b 4 b Y {
                ans = "Yes";
            } ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();
        int Y = scanner.nextInt();

        String ans = "No";

        for (int a = 0; a < X+1; a++) {
            int b = X - a;
            if (2*a + 4*b == Y) {
                ans = "Yes";
            }
        }

        System.out.println(ans);
    }
}
