Task: Program Execution
Input (English): [[3, -2, 38], [-50, 5], [24, -31, 37, 46, 27], [41, -23, -36]]
Output (English): [3, 5, -30969, -943]