#include <stdio.h>

int main()
{
    int a,b;
    scanf("%d",&a);
  scanf("%d",&b);
    if (2*a <= b && b <= 4*a && b%2 == 0){
        printf("Yes");
    }
    else{
        printf("No");
    }

    return 0;
}
