Task: Program Execution
Input (English): [227, 1715, 4975, 4921, 6, 31, 2, 118]
Output (English): [256, 2048, 4096, 4096, 8, 32, 2, 128]