Task: Program Execution
Input (English): [[30, -25, -16, 39, -16], [-51, -147, 12, -150, -58, -35], [5, 45], [24, 3]]
Output (English): [39, 12, 45, 24]