Task: Program Execution
Input (English): [4, 1749, 3842, 2474, 12, 40, 4, 138]
Output (English): [4, 2048, 4096, 2048, 16, 32, 4, 128]