import 'dart:io';

void main() async {
  List<String> inputs = stdin.readLineSync().split(' ');

  int x = int.parse(inputs[0]);
  int y = int.parse(inputs[1]);

  if ((x * 2) == y || (x * 4) == y) print('Yes'); return;

  int tsuru = (x * 4 - y) ~/ 2;
  int kame = x - tsuru;
  
  if (tsuru < 0 || kame < 0) {
    print('No');
    return;
  }
  if ((2 * tsuru) + (4 * kame) == y) {
    print('Yes');
  } else {
    print('No');
  }
}