Task: Program Execution
Input (English): [245, 997, 2254, 2727, 7, 42]
Output (English): [256, 1024, 2048, 2048, 8, 32]