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