Task: Program Execution
Input (English): [101, 563, 789, 464, 538, 43, 630, 250, 647, 31, 311, 976]
Output (English): [101, 563, 43, 647, 31, 311]