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