Task: Program Execution
Input (English): [[8, -37, 9], [-37, 15, 9, 45, -24], [19, 34, -40, 19], [-19, 29, -48, 6, 45], [20, 49, 10, -24], [-37, -22], [-17, 37, 40, 2], [-25, -49], [-17, 20, 28, -31]]
Output (English): [8, -24, -1360, -288, -4800, -22, 80, 0, 560]