Task: Program Execution
Input (English): [51, 589, 997, 905, 21, 32, 4]
Output (English): [64, 512, 1024, 1024, 16, 32, 4]