Task: Program Execution
Input (English): [[29, 44, 18, -35], [30, 14, 50, -9], [27, 36, -18, -9, 10], [46, -21]]
Output (English): [792, 21000, -6480, 46]