#include <stdio.h>

int main(void) {
	int X, Y;
	int turu, kame;
	if (scanf("%d%d", &X, &Y) != 2) return 1;
	for (turu = 0; turu <= X; turu++) {
		kame = X - turu;
		if (2 * turu + 4 * kame == Y) {
			puts("Yes");
			return 0;
		}
	}
	puts("No");
	return 0;
}
