#include <stdio.h>

int main(){
    int x, y, z;
    int a, b;

    scanf("%d", &x);
    scanf("%d", &y);

    z = y % 2;

    if(z == 1){
        printf("No\n");
    }else if(z == 0){
        b = y/2 - x;
        a = 2*x - y/2;
        if(a>=0 && b>=0){
            printf("Yes\n");
        }else{
            printf("No\n");
        }
    }

return 0;
}