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