Task: Program Execution
Input (English): [[39, 22, 5], [-16, 20, 42], [19, 35, 10], [-2, -17, -9, -35]]
Output (English): [195, 0, 665, -5355]