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