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