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