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