Task: Program Execution
Input (English): [[46, -43, -39], [-43, 25, 14, 29], [46, -3], [-34, -31, -47, 12]]
Output (English): [1677, -31175, -3, 1457]