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