Task: Program Execution
Input (English): [87, 1747, 1165, 4339, 15, 31, 3, 29, 1597]
Output (English): [64, 2048, 1024, 4096, 16, 32, 4, 32, 2048]