For each test case, you get:
a line containing one positive integer: x, denoting the width of the opening in centime- tres, with 1 <= x <= 20.
a line containing one non-negative integer: n, denoting the remaining number of Lego pieces Liesbeth and Jan have access to, with 0 <= n <= 1000000.
n lines containing positive integers l, denoting lengths of Lego pieces in nanometres. Liesbeth and Jan have told you that no piece of Lego is longer than 10 centimetres, or 100000000 nanometres.