Task: Program Execution
Input (English): [[23, 38, 17, 21, -47], [-39, -7, -30, -32], [-6, 26, -3], [-40, -47]]
Output (English): [38, 960, -156, -40]