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