The first line contains two integers $n$ and $k$, denoting the number of scores on the leaderboard and the maximum size of the multiset ($1 \le n \le 10^4$; $2 \le k \le 16$).

Each of the next $n$ lines contains a single integer $h_i$, denoting a score on the leaderboard ($1 \le h_i \le 10^9$).
