Task: Program Execution
Input (English): [31, 911, 2983, 1521, 23, 89, 2, 121, 1018]
Output (English): [32, 1024, 2048, 1024, 16, 64, 2, 128, 1024]