Task: Program Execution
Input (English): [31, 900, 56, 643, 601, 619, 493, 271, 868, 997]
Output (English): [31, 643, 601, 619, 271, 997]