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