Task: Program Execution
Input (English): [307, 34, 461, 164, 719, 967, 107, 548, 587, 955, 85, 328, 511, 521, 186, 360, 660, 741, 499]
Output (English): [307, 461, 719, 967, 107, 587, 521, 499]