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