Task: Program Execution
Input (English): [[38, 19, -50], [-20, 32, -1], [13, 38], [15, 45, -1, 40, -13]]
Output (English): [-1900, -640, 38, 40]