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