Task: Program Execution
Input (English): [146, 511, 1180, 1369, 18]
Output (English): [128, 512, 1024, 1024, 16]