Task: Program Execution
Input (English): [[40, 27, 5, 49], [-20, -39, 36], [-31, -15, -12], [-39, 49, 15, 50], [40, -43], [7, -48], [32, 17, -23, -40, 37], [-49, 49], [-47, 11, 8, -23], [-16, 22, 17, -39, 1]]
Output (English): [264600, 28080, -5580, -1433250, -1720, -336, 18517760, -2401, 95128, 233376]