import 'dart:io';
 
void main(List<String> args) {
  List<int> x = stdin.readLineSync().split(" ").map((i) => int.parse(i)).toList();
  String ans = "No";
  for(int i=0; i<=x[0]; ++i){
    if(2*i+4*(x[0]-i) == x[1]) ans = "Yes";
  }
  print(ans);
}