Task: Program Execution
Input (English): [7, 470, 4535, 3355, 8]
Output (English): [8, 512, 4096, 4096, 8]