import std.stdio;

void main() {
	int animals, legs;
	readf("%s %s", &animals, &legs);

	int turtles = animals;
	int cranes = 0;

	while (turtles >= 0) {
		if (turtles * 4 + cranes * 2 == legs) {
			writeln("Yes");
			return;
		}
		--turtles;
		++cranes;
	}

	writeln("No");
}
