#include <stdio.h>
int main()
{
    int x,y,i;
    scanf("%d",&x); scanf("%d",&y);
    for(i=1;i<=x;i++){
        if(4<=y) y=y-4;
        else if(2<=y) y=y-2;
        }
    if(y==0) printf("Yes");
    if(y!=0) printf("No");
    }