Task: Program Execution
Input (English): [[18, 40], [23, 36, -30, -24], [47, -36, 12, 19, 27], [18, 3]]
Output (English): [720, 596160, -10415952, 54]