Task: Program Execution
Input (English): [[-18, -3, 49, -10, -31], [-32, 21, 47, -30, 2], [16, -42]]
Output (English): [180, 1920, -672]