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