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