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