Task: Program Execution
Input (English): [6, 1, 7, 2, 10, 4, 9, 12]
Output (English): [60480, 362880, 51840, 181440, 36288, 90720, 40320, 30240]