Task: Program Execution
Input (English): [[31, 7, 13], [-13, 20, 47, -7], [22, -13], [45, 39]]
Output (English): [2821, 4277, -13, 1755]