Task: Program Execution
Input (English): [12, 7, 4, 1, 8, 2, 10, 9]
Output (English): [40320, 69120, 120960, 483840, 60480, 241920, 48384, 53760]