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