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