Types: n: int, si: List[int]
Ranges: 1 ≤ n ≤ 12, 1 ≤ si ≤ 100
Addtl Info: Input ends with a single 0, no more than 200 datasets