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