Task: Program Execution
Input (English): [39, 989, 4596, 646, 8]
Output (English): [32, 1024, 4096, 512, 8]