Task: Program Execution
Input (English): [[-12, 35, -31, -5], [37, -14], [9, 19, 47]]
Output (English): [-65100, -518, 8037]