import java.util.*;

class Main {
    private static Scanner sc;

    public static void main(final String[] args) {
        sc = new Scanner(System.in);
        int a = sc.nextInt(),b = sc.nextInt();
        if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No");
    }
}





 import java.util.*; util.* java class Main {
    private static Scanner sc;

    public static void main(final String[] args) {
        sc = new Scanner(System.in);
        int a = sc.nextInt(),b = sc.nextInt();
        if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No");
    }
} Main private static Scanner sc; sc public static void main(final String[] args) {
        sc = new Scanner(System.in);
        int a = sc.nextInt(),b = sc.nextInt();
        if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No");
    } main {
        sc = new Scanner(System.in);
        int a = sc.nextInt(),b = sc.nextInt();
        if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No");
    } sc = new Scanner(System.in) sc new Scanner(System.in) int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No"); a*4 >= b && a*2 <= b && b%2 == 0 a*4 >= b && a*2 <= b && b%2 == 0 a*4 >= b a*4 a 4 b a*2 <= b a*2 a 2 b b%2 == 0 b%2 b 2 0 System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" final String[] args args
import java.util.*;

class Main {
    private static Scanner sc;

    public static void main(final String[] args) {
        sc = new Scanner(System.in);
        int a = sc.nextInt(),b = sc.nextInt();
        if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
        else System.out.println("No");
    }
}






