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