Task: Program Execution
Input (English): [120, 977, 4470, 2007, 23, 74, 3]
Output (English): [128, 1024, 4096, 2048, 16, 64, 4]