Task: Program Execution
Input (English): [[22, 14, 45], [21, 9, -3], [27, 31], [12, 35, -47, 7, 9]]
Output (English): [13860, -567, 837, -1243620]