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