Task: Program Execution
Input (English): [[31, 24], [-46, 39, 12, 1], [-12, 2, 20, 9]]
Output (English): [31, 39, 9]