Task: Program Execution
Input (English): [246, 973, 798, 1289, 23]
Output (English): [256, 1024, 1024, 1024, 16]