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