Introduction - If you have any usage issues, please Google them yourself
(1)Enter the number of test cases are the first line of each test case on behalf of the stick after cutting the number of (<= 64), the second act, after cutting the length of the stick (separated by spaces) the last act number 0
(2)For each test case, output of the original stick in the shortest possible length,