Task: Program Execution
Input (English): [8, 1595, 338, 2583, 16, 37, 3]
Output (English): [8, 2048, 256, 2048, 16, 32, 4]