Task: Program Execution
Input (English): [[42, 24, -4], [31, 37, 45], [-47, -21]]
Output (English): [-4032, 51615, 987]