Task: Program Execution
Input (English): [[-18, -5], [29, -9, -34], [4, 13], [-24, -27], [-43, -2]]
Output (English): [-18, -34, 4, -24, -2]