Task: Program Execution
Input (English): [[40, 23, -42, 47], [11, 22, -8], [42, 12, 34, 42, 7], [-49, -47, -18]]
Output (English): [-1680, -176, 719712, -18]