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