Task: Program Execution
Input (English): [[9, 3], [46, 35, 15, 28], [47, 16], [22, 20, 4, 21, -3]]
Output (English): [0, 1288, 16, 1760]