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