Task: Program Execution
Input (English): [487, 505, 761, 769, 829, 186, 981, 983, 381, 498]
Output (English): [487, 761, 769, 829, 983]