#include <stdio.h>

int main()
{

    int a;
    int b;

    int c;
    int d;


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

    if(b%2==1){
        printf("No\n");
        return 0;
    }

    c = b - 2 * a;
    if (c<0)
    {
        printf("No\n");
        return 0;
    }
    d = c / 2;

    if(d>a){
        printf("No\n");
        return 0;
    }

    printf("Yes\n");
}