Task: Program Execution
Input (English): [249, 1390, 1687, 3761, 19, 40, 3]
Output (English): [256, 1024, 2048, 4096, 16, 32, 4]