Task: Program Execution
Input (English): [[-22, -22, -40, -29], [-9, -8, 3, 37, -12], [8, 10]]
Output (English): [-29, -999, 0]