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