Task: Program Execution
Input (English): [3, 1476, 4306, 940, 10, 70, 2]
Output (English): [4, 1024, 4096, 1024, 8, 64, 2]