Task: Program Execution
Input (English): [[39, 43, -10], [-22, -86, -61], [-68, 55, -75, -31, -9]]
Output (English): [-51, 12, -146, -31, -9]