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