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