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



import std.algorithm;
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 ) )
{
	input.popFront;
	auto as = input.front.split.to!( long[] );
	input.popFront;
	auto bs = input.front.split.to!( long[] );
	return tuple( as, bs );
}

auto solve( long[] as, long[] bs )
{
	auto at = as.sum;
	auto bt = bs.sum;
	if( bt < at || ( bt - at ) % 2 == 0 ) return "No";
	else                                  return "Yes";
}
