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