Task: Program Execution
Input (English): [30, 765, 2278, 2851, 21, 85, 3, 197, 506, 2978]
Output (English): [32, 512, 2048, 2048, 16, 64, 4, 256, 512, 2048]