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