Task: Program Execution
Input (English): [102, 1859, 945, 4971, 20, 30, 3]
Output (English): [128, 2048, 1024, 4096, 16, 32, 4]