Task: Program Execution
Input (English): [[-30, 6, -47], [34, 12, 7, -21], [26, -23, -32, -9, 27], [40, 43]]
Output (English): [8460, -59976, -4650048, 1720]