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