Task: Program Execution
Input (English): [[-23, 50], [32, 46], [-39, 30, 42], [4, 41], [-18, -28]]
Output (English): [50, 1472, 1260, 4, 504]