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