Task: Program Execution
Input (English): [31, 1901, 4004, 1605, 14, 43, 2, 50, 362]
Output (English): [32, 2048, 4096, 2048, 16, 32, 2, 64, 256]