Task: Program Execution
Input (English): [[38, 19, -10], [34, 49, 35, 49, -40], [41, -29, -7, -13, 31]]
Output (English): [-380, -1360, 0]