import scala.io.StdIn
import scala.annotation.tailrec

object Main extends App {
  val n = StdIn.readInt
  val h = StdIn.readInt
  val w = StdIn.readInt

  val hs = n - h + 1
  val ws = n - w + 1

  println(hs * ws)
}