#include <stdio.h>

int main(void)
{
    int X = 0;
    int Y = 0;
    int i = 0;
    int j = 0;

    scanf("%d %d", &X, &Y);

    for (i = 0; i <= X; i++)
    {
        if ((i * 2) + ((X - i) * 4) == Y)
        {
            printf("Yes");
            return 0;
        }
    }
    printf("No");
    return 0;
}
