Task: Program Execution
Input (English): [140, 1274, 4735, 4331, 7]
Output (English): [128, 1024, 4096, 4096, 8]