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