Task: Program Execution
Input (English): [29, 294, 1346, 1946, 22, 52, 2, 204, 165, 4561, 2514, 11, 65, 3, 98, 1609]
Output (English): [32, 256, 1024, 2048, 16, 64, 2, 256, 128, 4096, 2048, 8, 64, 4, 128, 2048]