Task: Program Execution
Input (English): [31, 1643, 147, 3949, 20, 79, 3]
Output (English): [32, 2048, 128, 4096, 16, 64, 4]