#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define ll long long

int x,y;

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