Task: Program Execution
Input (English): [[18, 25, -8], [37, -7, -30, -49, 18], [-42, -47], [0, -28, -49]]
Output (English): [25, 12691, -47, -49]