Task: Program Execution
Input (English): [[21, 22, 18], [-40, -11], [22, 38], [-47, -40]]
Output (English): [21, -11, 0, -47]