#include <stdio.h>

int main(){
  int X,Y;
  scanf("%d",&X);
  scanf("%d",&Y);
  if ((Y-2*X)/2 %1 == 0 && (4*X-Y)/2 %1 == 0 && (Y-2*X)/2 >= 0 && (4*X-Y)/2 >= 0){
    printf("Yes");
  }else{
    printf("No");
  }
  return 0;
}