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