Dr.Kong has taken a side job designing interesting punch-bowl designs. The designs are created as follows:
* A flat board of size W cm * H cm is procured (3 <= W <= 300, 3 <= H <= 300)
* On every
The blocks are all glued together carefully so that punch will not drain through them. They are glued so well, in fact, that the corner blocks really don't matter!
Dr.Kong can never figure out, however, just how much punch their bowl designs will hold. Presuming the bowl is freestanding (i.e., no special walls around the bowl), calculate how much juice the bowl can hold. Some juice bowls, of course, leak out all the juice on the edges and will hold 0.