Task: Program Execution
Input (English): [49, 841, 1894, 2943, 25, 50, 3, 189, 969, 507, 610, 8]
Output (English): [64, 1024, 2048, 2048, 32, 64, 4, 128, 1024, 512, 512, 8]