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