Task: Program Execution
Input (English): [221, 839, 3810, 1287, 19, 31, 2]
Output (English): [256, 1024, 4096, 1024, 16, 32, 2]