//No.156 キャンディー・ボックス import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class No156 { static final InputStream in = System.in; static final PrintWriter out = new PrintWriter(System.out,false); static void solve(){ int n = nextInt(); int m = nextInt(); int[] c = nextArrayInt(n); sort(c); int i; for (i=0; i