Task: Program Execution
Input (English): [[-42, -9], [10, 11, 6, 12], [-40, 28, 17, 15, -18], [16, -39, -13]]
Output (English): [-9, 11, 255, 507]