Task: Program Execution
Input (English): [29, 109, 197, 94, 138, 97, 8, 71, 40]
Output (English): [29, 109, 197, 97, 71]