import java.util.*;

public class Main {
public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

}

}; import java.util.*; util.* java public class Main {
public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

}

} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

} main {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x x y; y String ans = "No"; ans "No" x = scan.nextInt() x scan.nextInt() scan.nextInt scan y = scan.nextInt() y scan.nextInt() scan.nextInt scan if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    } y%2 == 0 y%2 y 2 0 {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    } if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        } (x * 2) <= y && y <= (x * 4) (x * 2) <= y (x * 2) x 2 y y <= (x * 4) y (x * 4) x 4 {
            ans = "Yes";
        } ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans scan.close() scan.close scan String[] args args public class Main {
public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

}

} public class Main {
public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

}

} Main
import java.util.*;

public class Main {
public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x,y;
    String ans = "No";

    x = scan.nextInt();
    y = scan.nextInt();

    if(y%2 == 0) {
        if((x * 2) <= y && y <= (x * 4)) {
            ans = "Yes";
        }
    }

    System.out.println(ans);
    scan.close();

}

};
