Task: Program Execution
Input (English): [[18, -47, -5, -33, -20], [10, -17], [-17, -2]]
Output (English): [-360, 10, -2]