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