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