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