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