Task: Program Execution
Input (English): [9, 1120, 519, 3970, 17, 77, 3, 22]
Output (English): [8, 1024, 512, 4096, 16, 64, 4, 16]