Task: Program Execution
Input (English): [[23, -34, -3], [4, 27, -16], [35, -17], [47, -28, -10]]
Output (English): [2346, -1728, -595, 13160]