Task: Program Execution
Input (English): [39, 670, 1851, 1672, 23, 80, 2]
Output (English): [32, 512, 2048, 2048, 16, 64, 2]