In test cases worth 60% of total points, it will hold N
≤ 9.
Clarification of the first test case:
Harry can place the wands in boxes. For example, he can place the wand of length 5 in a box of size
6, wand of length 7 in a box of size 13, and wand of length 9 in a box of size 10.
Clarification of the second test case:
Harry can’t place the wands in boxes because the box of size 2 can’t fit any of the wands.