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