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