import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int count = sc.nextInt(); count sc.nextInt() sc.nextInt sc int sum = sc.nextInt(); sum sc.nextInt() sc.nextInt sc boolean flg = false; flg false for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        } int x = 0; int x = 0; x 0 x <= count x count x++ x++ x {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        } {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        } for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            } int y = 0; int y = 0; y 0 y <= count y count y++ y++ y {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            } {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            } if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                } x + y == count && 2 * x + 4 * y == sum x + y == count x + y x y count 2 * x + 4 * y == sum 2 * x + 4 * y 2 * x 2 x 4 * y 4 y sum {
                    flg = true;
                    break;
                } flg = true flg true break; if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } flg {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int sum = sc.nextInt();
        boolean flg = false;

        for (int x = 0; x <= count; x++) {
            for (int y = 0; y <= count; y++) {
                if (x + y == count && 2 * x + 4 * y == sum) {
                    flg = true;
                    break;
                }
            }
        }
        if (flg) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
}