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