Task: Program Execution
Input (English): [[29, -29, 14, 40, -38], [-16, 46, -31, 16, -32], [49, 41, -50, 18, -50]]
Output (English): [-841, -31, 2009]