Task: Program Execution
Input (English): [463, 971, 109, 789, 997, 24, 540, 389]
Output (English): [463, 971, 109, 997, 389]