#include <stdio.h>

int main(){
        int a, s, turu, kame;

        scanf("%d %d", &a, &s);

        kame = (a / 2) - s;
        turu = s - kame;

        if((a==kame+turu)&&(s==2*turu+4*kame)){
                printf("Yes");
        }else{
                printf("No");
        }
        return 0;
}
