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