Task: Program Execution
Input (English): [6, 1561, 4407, 2730, 18]
Output (English): [8, 2048, 4096, 2048, 16]