Task: Program Execution
Input (English): [[22, -10], [-10, 34, 22], [25, -29, -40, -27]]
Output (English): [-220, -7480, -783000]