Task: Program Execution
Input (English): [5, 1720, 2631, 717, 17, 36, 2]
Output (English): [4, 2048, 2048, 512, 16, 32, 2]