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