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