#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <string.h>

int main(void)
{

  double x, y, k, t;

  scanf("%lf%lf", &x, &y);

  k = (y - 2 * x) / 2;
  t = (4 * x - y) / 2;

  if (k < 0 || t < 0) printf("No\n");
  else if (k == 0 && t == 0) printf("No\n");
  else printf("Yes\n");

  return 0;

}
