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