Task: Program Execution
Input (English): [4, 1310, 775, 3670, 21, 87, 3, 141, 381, 3913]
Output (English): [4, 1024, 1024, 4096, 16, 64, 4, 128, 256, 4096]