Task: Program Execution
Input (English): [31, 190, 4961, 1500, 23, 78, 4, 126, 647]
Output (English): [32, 128, 4096, 1024, 16, 64, 4, 128, 512]