AtCoder Inc. sells merchandise on its [online shop](https://suzuri.jp/AtCoder/home).
There are $N$ items remaining in the company. The weight of the $i$\-th item $(1\leq i\leq N)$ is $W_i$.
Takahashi will sell these items as $D$ lucky bags.
He wants to minimize the variance of the total weights of the items in the lucky bags.
Here, the variance is defined as $V=\frac{1}{D}\displaystyle\sum_{i=1}^D (x_i-\bar{x})^2$, where $x_1,x_2,\ldots,x_D$ are the total weights of the items in the lucky bags, and $\bar{x}=\frac{1}{D}(x_1+x_2+\cdots+x_D)$ is the average of $x_1,x_2,\ldots,x_D$.
Find the variance of the total weights of the items in the lucky bags when the items are divided to minimize this value.
It is acceptable to have empty lucky bags (in which case the total weight of the items in that bag is defined as $0$),
but **each item must be in exactly one of the $D$ lucky bags**.
## Constraints
* $2 \leq D\leq N\leq 15$
* $1 \leq W_i\leq 10^8$
* All input values are integers.
## Input
The input is given from Standard Input in the following format:
$N$ $D$
$W_1$ $W_2$ $\ldots$ $W_N$
[samples]