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