#include <stdio.h>

int main(void) {
	int x,y;

	scanf("%d", &x);//body
	scanf("%d", &y);//leg

	for (int i = 0; i <= x; i++) {
		int tmp = 4 * (x - i) + 2 * i;
		if (tmp == y) {
			puts("Yes");
			return 0;
		}
	}

	puts("No");

	return 0;
}