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