Task: Program Execution
Input (English): [21, 1491, 1023, 488, 10, 40, 2, 21]
Output (English): [16, 1024, 1024, 512, 8, 32, 2, 16]