Task: Program Execution
Input (English): [198, 1184, 2948, 1656, 7]
Output (English): [256, 1024, 2048, 2048, 8]