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