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