Task: Program Execution
Input (English): [1, 1, 5, 6, 5, 8, 4, 2, 10] , [10, 2, 9, 9, 8, 10, 1, 10, 1]
Output (English): [1, 2, 8, 10]