Task: Program Execution
Input (English): [[-39, -40], [-50, 20, -41], [-6, 20, 31], [39, 18]]
Output (English): [-39, -41, 31, 39]