Task: Program Execution
Input (English): [[39, -2, 40, 6], [-26, -12, -7], [27, 29], [-31, -34, -22], [9, -5, -31, -50, -23], [32, 35, 49, -15, -33]]
Output (English): [39, -7, 783, -31, -32085, 848925]