Task: Program Execution
Input (English): [31, 189, 1631, 1233, 8]
Output (English): [32, 128, 2048, 1024, 8]