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