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



import std.conv;
import std.range;
import std.stdio;
import std.string;
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 h = input.front.to!( long );
	input.popFront;
	auto w = input.front.to!( long );
	input.popFront;
	return tuple( n, h, w );
}

auto solve( long n, long h, long w )
{
	return ( n - h + 1 ) * ( n - w + 1 );
}
