Task: Program Execution
Input (English): [8, 1125, 1180, 1016, 7, 51, 2, 170, 1236, 1835, 3687, 10]
Output (English): [8, 1024, 1024, 1024, 8, 64, 2, 128, 1024, 2048, 4096, 8]