Task: Program Execution
Input (English): [5, 522, 4685, 4467, 9, 31, 3]
Output (English): [4, 512, 4096, 4096, 8, 32, 4]