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