unittest
{
	assert( [ "3 8" ].parse.expand.solve == "Yes" );
	assert( [ "2 100" ].parse.expand.solve == "No" );
	assert( [ "1 2" ].parse.expand.solve == "Yes" );
}



import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto xy = input.front.split.to!( long[] );
	return tuple( xy[ 0 ], xy[ 1 ] );
}

auto solve( long x, long y )
{
	foreach( i; 0L .. x + 1 )
	{
		if( i * 4 + ( x - i ) * 2 == y ) return "Yes";
	}
	return "No";
}
