Task: Program Execution
Input (English): [10, 1046, 2635, 441, 18, 40]
Output (English): [8, 1024, 2048, 512, 16, 32]