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