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