Task: Program Execution
Input (English): [[-40, -50, 27, 7, 23], [-40, -50], [-50, -27, -50], [47, -2], [29, 26], [-29, 39, -23], [16, -9, -8, 43], [19, 38, 49, 27, 23], [-31, 31, -49]]
Output (English): [4347, 0, -27, 47, 29, 26013, -387, 578151, 47089]