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