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