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