#include <stdio.h>

void	kame(int *x, int *y)
{
  	*x = *x - 1;
  	*y = *y - 2;
}

void	tsuru(int *x, int *y)
{
  	*x = *x - 1;
  	*y = *y - 4;
}

int	main(void)
{
  	int	x;
  	int	y;
	
	scanf("%d %d", &x, &y);
	
  	if (2 * x <= y)
    { 
	  	while (2 * x < y && x > 0)
    	{
      		tsuru(&x, &y);
        }
      	if (2 * x == y)
        {
          	printf("Yes");
        }
      	else
        {
          	printf("No");
        }
    }
    else
    {
      	printf("No");
    }
  	return (0);
}