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