Task: Program Execution
Input (English): [[-27, -43], [23, -22], [13, 21, -47], [-18, -49, 1, -15], [-50, 12, 30]]
Output (English): [1161, -506, -12831, -13230, -18000]