Task: Program Execution
Input (English): [6, 0, 2, 5, 4, 12, 11, 9]
Output (English): [0, 285120, 0, 0, 0, 0, 0, 0]