Task: Program Execution
Input (English): [[31, 36], [-12, 35, 45, 34], [50, -47, 27, -32, -14], [-41, -22, 7, -35], [-47, 42, -21], [23, -28], [18, -47, 30]]
Output (English): [36, -408, 22400, -22, 42, -28, 540]