#include <stdio.h>

int main() {
  int count, leg;
  scanf("%d%d", &count, &leg);
  int i = 0;
  int sum = 0;
  int flag = 0;
  for (i = 0; i <= count; i++) {
    sum = 2 * i + 4 * (count - i);
    if (sum == leg) {
      flag = 1;
      break;
    }
  }
  if (flag == 1) {
    puts("Yes");
  } else {
    puts("No");
  }
  return 0;
}