Task: Program Execution
Input (English): [[40, -37, -17], [-31, -22, -26, -10], [-28, -44, -33, -24], [9, 50, -1]]
Output (English): [629, -31, -33, -9]