unittest
{
	assert( [ "4", "3 8 5 1" ].parse.expand.solve == "Yes" );
	assert( [ "4", "3 8 4 1" ].parse.expand.solve == "No" );
	assert( [ "10", "1 8 10 5 8 12 34 100 11 3" ].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 ) )
{
	auto n = input.front.to!( long );
	input.popFront;
	auto ls = input.front.split.to!( long[] );
	return tuple( ls );
}

auto solve( long[] ls )
{
	auto m = ls.reduce!max;
	auto s = ls.sum - m;
	return ( m < s ) ? "Yes" : "No";
}
