Task: Program Execution
Input (English): [2, 96, 2590, 1403, 14, 31]
Output (English): [2, 128, 2048, 1024, 16, 32]