Task: Program Execution
Input (English): [[29, -35], [-10, 7, 14], [-22, 40]]
Output (English): [-1015, 7, 0]