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