Task: Program Execution
Input (English): [29, 961, 5, 107, 911, 757, 389, 997, 997, 186, 386, 540]
Output (English): [29, 5, 107, 911, 757, 389, 997, 997]