#include<stdio.h>

int main(void){

    double X, Y;
    double a, b;

    scanf("%lf %lf", &X, &Y);
    a = (Y-2*X)/2;
    b = (4*X-Y)/2;

    if((int)a==a && (int)b==b && a>=0 && b>=0){
        printf("Yes");
    }else{
        printf("No");
    }


    return 0;
}