Task: Program Execution
Input (English): [[-5, -40, -45], [45, -45, -30], [1, 10], [-42, 29], [2, 8, -29, 50]]
Output (English): [225, -2025, 1, 29, -29]