Task: Program Execution
Input (English): [3, 4, 0, 12, 11, 7, 10, 2]
Output (English): [0, 0, 221760, 0, 0, 0, 0, 0]