Task: Program Execution
Input (English): [[-18, 8, 31], [9, 36], [17, -8, -24]]
Output (English): [31, 9, 17]