function Main(input) {
    input = input.split("\n");
    N = Number(input[0]) + 1;
    H = Number(input[1])
    W = Number(input[2])
    console.log( (N - H) * (N - W) );
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));