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