The first line contains two integers $n$ and $k$~--- the number of computers and the number of ports in the hub ($1 \leq k \leq n \leq 100$).

The second line contains $n$ integers $d_1, d_2, \ldots, d_n$~--- the list of data transfer times through each computer's wire ($1 \leq d_i \leq 100$).