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