Task: Program Execution
Input (English): [[39, 45, 27, 2], [-47, 32, -44], [5, 31, 38, -2], [49, -29, 48], [20, -42, -29], [10, 38, -19], [29, 45, -48, -28], [-11, -42], [-16, -49, 49, -11, 22], [39, 42, 37, 45, 12]]
Output (English): [2, -1408, -76, 48, -840, 380, 1344, -42, -352, 504]