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