Task: Program Execution
Input (English): [[30, 35, -5, -22, -35], [29, -8], [-37, -19, 4, -31]]
Output (English): [-660, -8, 4]