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