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