Task: Program Execution
Input (English): [7, 0, 6, 5, 8, 12, 13, 2]
Output (English): [0, 524160, 0, 0, 0, 0, 0, 0]