Task: Program Execution
Input (English): [[40, 3, -185, -122], [-67, -31], [-48, -82, -189, -31]]
Output (English): [40, -31, -31]