Task: Program Execution
Input (English): [18, 1870, 2864, 2162, 23, 38, 4]
Output (English): [16, 2048, 2048, 2048, 16, 32, 4]