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