Task: Program Execution
Input (English): [[-20, 17, -27], [12, -21, 13], [-1, -1], [17, -29, -45], [31, 40]]
Output (English): [-459, -273, 1, 22185, 31]