//No.5 数字のブロック import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class No5 { static final InputStream in = System.in; static final PrintWriter out = new PrintWriter(System.out,false); static void solve(){ int l = nextInt(); int n = nextInt(); int[] w = nextArrayInt(n); sort(w); int sum = 0; int cnt = 0; for (int i=0; i