Task: Program Execution
Input (English): [171, 804, 2958, 3368, 7, 40]
Output (English): [128, 1024, 2048, 4096, 8, 32]