#include <stdio.h>


int main(void){
    
    int x,y;
    long int ans;
    scanf("%d %d",&x,&y);
    for(int i=0;i<=x;i++){
        if(2*i+4*(x-i) == y){
            printf("Yes");
            return 0;
        }
    }


    printf("No");

    return 0;
}