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