Task: Program Execution
Input (English): [31, 476, 989, 751, 863, 666, 885, 117, 908, 131, 232, 568, 874, 557, 50, 587, 401, 884]
Output (English): [31, 751, 863, 131, 557, 587, 401]