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