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