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