Task: Program Execution
Input (English): [187, 1040, 570, 1541, 18]
Output (English): [128, 1024, 512, 2048, 16]