Task: Program Execution
Input (English): [[13, -46], [31, -9], [-40, -12, 23], [-19, -7, -13]]
Output (English): [-598, -279, 11040, -1729]