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