Task: Program Execution
Input (English): [[5, 49], [49, -34, -8, 22], [40, 39, 47], [-22, -18, 23, 5], [12, -45, -17, 44]]
Output (English): [0, 5984, 40, 396, 528]