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