import std.stdio, std.conv, std.string, std.bigint;
import std.math, std.random, std.datetime;
import std.array, std.range, std.algorithm, std.container, std.format;
string read(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }

void main(){
	auto n = read.to!long;
	auto h = read.to!long;
	auto w = read.to!long;
	
	auto a = n - h + 1;
	auto b = n - w + 1;
	
	(a * b).writeln;
	
}
