A sequence of length and an integer are given.
For each , consider a new sequence obtained by inserting one after the -th position of sequence .
That is,
Let be the sequence of length obtained in this way. For each , print the area of the largest rectangle that is contained in the histogram made from .
The input is given in the following format.
Print a total of lines.
On the -th line, print the area of the largest rectangle that is contained in the histogram made from .
| 4 | 18 | (). |
| 5 | 30 | . |
| 6 | 15 | No additional constraints. |