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