Task: Program Execution
Input (English): [[-41, -14, 40], [39, 23, 14, 2], [16, 17], [18, -2, -49, 34, -48], [44, 43, 9], [-17, 5, 49], [31, 42], [48, 5], [-19, 17, 50, 50]]
Output (English): [-41, 897, 17, -49, 387, -4165, 31, 5, -323]