Task: Program Execution
Input (English): [12, 954, 554, 1500, 6]
Output (English): [16, 1024, 512, 1024, 8]