Task: Program Execution
Input (English): [5, 416, 4387, 3407, 14, 38, 3, 111]
Output (English): [4, 512, 4096, 4096, 16, 32, 4, 128]