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